[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 Guenther
Subject: Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."
Date: Fri, 29 Dec 2006 22:43:25 +0100

On 12/29/06, Paul Eggert <address@hidden> wrote:
Ian Lance Taylor <address@hidden> writes:
> Does anybody think that Paul's proposed patch to autoconf would be
> better than changing VRP?

I don't.

I haven't noticed anyone else addressing this question,
which I think is a good one.

I don't think doing any of both is a good idea.  Authors of the affected
programs should adjust their makefiles instead - after all, the much more
often reported problems are with -fstrict-aliasing, and this one also doesn't
get any special treatment by autoconf.  Even though -fno-strict-aliasing -fwrapv
would be a valid, more forgiving default.  Also as ever, -O2 is what get's
the most testing, so you are going to more likely run into compiler bugs
with -fwrapv.


reply via email to

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