OSDN Git Service

PR tree-optimization/34036
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Nov 2007 06:27:31 +0000 (06:27 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Nov 2007 06:27:31 +0000 (06:27 +0000)
commit4a2a1c11f1f128b6f641f326d09d05b25ab89e98
tree1e272b2a1434330c1d37940c486411e9cb30b2a8
parent0582fc632a4f4d9fd301842078df56f110b0baf8
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130286 138bc75d-0d04-0410-961f-82ee72b054a4
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