This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."


Thorsten Glaser <tg@mirbsd.de> writes:

> Paul Eggert dixit:
>
>>  [â] gcc -O2 makes no promises without
>>  -fwrapv.
>
> gcc -O1 -fwrapv even doesn't work correctly for gcc3,
> and gcc2 and gcc <3.3(?) don't even have -fwrapv:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30477

The latter would not be a problem, since Autoconf would try -fwrapv on
a test module before using it to compile a real module.

Do you have a test case illustrating the gcc3 bug?  If so,
perhaps Autoconf could include that in its test of -fwrapv.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]