------- Comment #8 from ebotcazou at gcc dot gnu dot org  2007-11-19 06:27 
-------
Subject: Bug 34036

Author: ebotcazou
Date: Mon Nov 19 06:27:31 2007
New Revision: 130286

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130286
Log:
        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.


Added:
    trunk/gcc/testsuite/g++.dg/opt/pr34036.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/invoke.texi
    trunk/gcc/opts.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/pr33007.c
    trunk/gcc/testsuite/gcc.dg/tree-ssa/recip-5.c
    trunk/gcc/toplev.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34036

Reply via email to