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: Dave Korn
Subject: RE: changing "configure" to default to "gcc -g -O2 -fwrapv ..."
Date: Sun, 31 Dec 2006 19:51:56 -0000

On 31 December 2006 18:47, Paul Eggert wrote:

> "Daniel Berlin" <address@hidden> writes:

> The question is not whether GCC should support wrapv
> semantics; it already does, if you specify -fwrapv.
> The question is merely whether wrapv should be the default
> with optimization levels -O0 through -O2.

  Maybe we need to make it a trinary, like -Wstrict-aliasing.  Then we would
turn on -fwrapv=1 at -O2, and we would only need to argue about which
wrap-assuming optimisations were suitable for level 1 and which weren't.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....





reply via email to

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