This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Fix PR tree-optimization/34036
On Nov 18, 2007 10:05 PM, Eric Botcazou <ebotcazou@libertysurf.fr> wrote:
> > Probably as well. I guess to get all cases here will be work though :/
>
> It seems that there are only 2 affected testcases. OK for mainline?
Ok.
Thanks,
Richard.
>
> 2007-11-18 Eric Botcazou <ebotcazou@libertysurf.fr>
>
> PR tree-optimization/34036
> * opts.c (set_fast_math_flags): Do not set flag in common
> with set_unsafe_math_optimizations_flags, invoke it directly.
> (set_unsafe_math_optimizations_flags): Unset flag_trapping_math
> and flag_signed_zeros.
> * toplev.c (process_options): Force flag_associative_math to 0 and
> warn, if it is set and either flag_trapping_math or flag_signed_zeros
> are set too.
> * doc/invoke.texi (Optimize Options): Document the new behavior
> of -funsafe-math-optimizations, that -fassociative-math requires
> both -fno-signed-zeros and -fno-trapping-math and make it clear
> that -fno-trapping-math requires -fno-signaling-nans.
>
>
> 2007-11-18 Eric Botcazou <ebotcazou@libertysurf.fr>
>
> * gcc.dg/pr33007.c: Expect new warning.
> * gcc.dg/tree-ssa/recip-5.c: Likewise.
>
> * g++.dg/opt/pr34036.C: New test.
>
>
> --
> Eric Botcazou
>