[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: Thorsten Glaser
Subject: Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."
Date: Wed, 17 Jan 2007 15:02:58 +0000 (UTC)

Paul Eggert dixit:

>Thorsten Glaser <address@hidden> writes:


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

The test case is included in the PR above, but it's not
necessary to include this check because
* the autoconf checks succeed with gcc3, it doesn't optimise
  them away as aggressively as recent gcc4 versions
* the only way to disable it is using -O0

The idea of the PR is: there's a possibly unsafe optimsation,
but we can't turn it off with -fwrapv as we're supposed to,
only with using -O0, which sucks, so please fix -fwrapv. (It
does too few, not too much.)

  "Using Lynx is like wearing a really good pair of shades: cuts out
   the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL."
                                         -- Henry Nelson, March 1999

reply via email to

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