[Top][All Lists]

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

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

From: Richard Kenner
Subject: Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."
Date: Sun, 31 Dec 2006 09:03:17 EST

> And I doubt that GCC (or any compiler) could reliably detect code
> that checks for overflow.

It doesn't need to "detect" all such code: all it needs to do is
ensure that it doesn't BREAK such code.  And that's a far easier
condition: you just have to avoid folding a condition into TRUE or FALSE
based on assumptions about overflow.

reply via email to

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