bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Paul Eggert
Subject: Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."
Date: Wed, 17 Jan 2007 00:24:52 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Thorsten Glaser <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]