This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author aimacintyre
Recipients
Date 2003-04-20.04:55:39
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=250749

This patch has made _sre.c more susceptible to optimisation
breakage.

The default autoconf optimisation setting for gcc is -O3. 
When _sre.c is so compiled with gcc 2.95.[34] on FreeBSD
4.[47] and gcc 3.2.1 on OS/2+EMX with this level of
optimisation, I get a bus error (sig 10) when running
test_sre (a SYS3171 on OS/2, which is the same thing).

The bus error is not evident with -O2 for gcc 2.95.[34], or
-O for gcc 3.2.1.

Unfortunately I don't have any recent version of gcc
(3.[12].x) available on FreeBSD yet to evaluate.

I have no idea how to introduce a special optimisation
setting just for _sre.c in autoconf, but lowering the
optimisation for all other files seems a major backward step
if its -O3 -> -O; dropping everything from -O3 to -O2 would
be tolerable I think.

As I'm not using autoconf on OS/2, dealing with this is not
a problem there.
History
Date User Action Args
2007-08-23 15:22:12adminlinkissue720991 messages
2007-08-23 15:22:12admincreate