diff options
author | Roger Sayle <roger@eyesopen.com> | 2007-01-19 19:35:22 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2007-01-19 19:35:22 +0000 |
commit | db02da79174dea480aa4217dbe7afd3d3b8364d1 (patch) | |
tree | e158e5c13ab326a2c00f9dd76f5137fb2f592973 /gcc/testsuite | |
parent | d88c64564e9c9c57bea4c6ce15fd400f589f9de3 (diff) | |
download | gcc-db02da79174dea480aa4217dbe7afd3d3b8364d1.zip gcc-db02da79174dea480aa4217dbe7afd3d3b8364d1.tar.gz gcc-db02da79174dea480aa4217dbe7afd3d3b8364d1.tar.bz2 |
common.opt (fsigned-zeros): New command line option.
* common.opt (fsigned-zeros): New command line option.
* flags.h (HONOR_SIGNED_ZEROS): Control via flag_signed_zeros instead
of flag_unsafe_math_optimizations.
* opts.c (set_fast_math_flags): The -ffast-math command line option
implies -fno-signed-zeros.
(fast_math_flags_set_p): Likewise.
* doc/invoke.texi: Document new -fno-signed-zeros option, and update
the documentation of -ffast-math appropriately. Wrap long lines.
* gcc.dg/pr30172-1.c: Specify the -fno-signed-zeros command line
option instead of -funsafe-math-optimizations.
From-SVN: r120978
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr30172-1.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e0178ad..326a76a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-01-19 Roger Sayle <roger@eyesopen.com> + + * gcc.dg/pr30172-1.c: Specify the -fno-signed-zeros command line + option instead of -funsafe-math-optimizations. + 2007-01-19 Tomas Bily <tbily@suse.cz> gcc.dg/tree-prof/indir-call-prof.c: New. diff --git a/gcc/testsuite/gcc.dg/pr30172-1.c b/gcc/testsuite/gcc.dg/pr30172-1.c index 14b5fa5..4e029b5 100644 --- a/gcc/testsuite/gcc.dg/pr30172-1.c +++ b/gcc/testsuite/gcc.dg/pr30172-1.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-funsafe-math-optimizations -ffinite-math-only -fdump-tree-gimple" } */ +/* { dg-options "-fno-signed-zeros -ffinite-math-only -fdump-tree-gimple" } */ _Complex double test1 (double x) { return x + 1.i; } _Complex double test2 (double x) { return 1 + x * 1.i; } |