re PR tree-optimization/34036 (ICE with control flow in the middle of basic block...
authorEric Botcazou <ebotcazou@libertysurf.fr>
Mon, 19 Nov 2007 06:27:31 +0000 (07:27 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 19 Nov 2007 06:27:31 +0000 (06:27 +0000)
commitc5edab650de5e1e148c08d7396bfdbf034c0d5a6
tree1e272b2a1434330c1d37940c486411e9cb30b2a8
parent88af50ebcd002284ee32bd0a67eccccea1fac47c
re PR tree-optimization/34036 (ICE  with control flow in the middle of basic block for -fnon-call-exceptions)

PR tree-optimization/34036
* opts.c (set_fast_math_flags): Do not set flags 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
is 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.

From-SVN: r130286
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/opts.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr34036.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr33007.c
gcc/testsuite/gcc.dg/tree-ssa/recip-5.c
gcc/toplev.c