This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Fix PR tree-optimization/34036


> From: Eric Botcazou <ebotcazou@libertysurf.fr>
> Date: Sun, 18 Nov 2007 22:05:11 +0100

> 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.

This caused the following regression for cris-elf:
Running /tmp/hpautotest-gcc1/gcc/gcc/testsuite/gcc.dg/tree-ssa/tree-ssa.exp ...
FAIL: gcc.dg/tree-ssa/pr23109.c scan-tree-dump-not recip "reciptmp"

gcc.log:
PASS: gcc.dg/tree-ssa/pr23109.c (test for excess errors)
PASS: gcc.dg/tree-ssa/pr23109.c scan-tree-dump-not lim "reciptmp"
FAIL: gcc.dg/tree-ssa/pr23109.c scan-tree-dump-not recip "reciptmp"

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]