This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: eggert at CS dot UCLA dot EDU (Paul Eggert)
- Cc: dberlin at dberlin dot org (Daniel Berlin), iant at google dot com (Ian Lance Taylor), autoconf-patches at gnu dot org, bug-gnulib at gnu dot org, gcc at gcc dot gnu dot org, dnovillo at redhat dot com
- Date: Fri, 29 Dec 2006 19:47:15 -0500 (EST)
- Subject: Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."
>
> "Daniel Berlin" <dberlin@dberlin.org> writes:
>
> > Nobody has yet showed that any significant number of
> > programs actually rely on this undefined behavior.
>
> GCC itself relies on wrapv semantics. As does glibc. And
> coreutils. And GNU tar. And Python. I'm sure there are
> many other significant programs. I don't have time to do a
> comprehensive survey right now.
Where does GCC rely on that? I don't see it anywhere?
If you can point out specific spots, please file a bug and
I will go and fix them.
Thanks,
Andrew Pinski