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/flags.h | |
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/flags.h')
-rw-r--r-- | gcc/flags.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/flags.h b/gcc/flags.h index f5fdd6b..ce9d6d7b 100644 --- a/gcc/flags.h +++ b/gcc/flags.h @@ -281,7 +281,7 @@ extern const char *flag_random_seed; /* Like HONOR_NANS, but true if the given mode distinguishes between positive and negative zero, and the sign of zero is important. */ #define HONOR_SIGNED_ZEROS(MODE) \ - (MODE_HAS_SIGNED_ZEROS (MODE) && !flag_unsafe_math_optimizations) + (MODE_HAS_SIGNED_ZEROS (MODE) && flag_signed_zeros) /* Like HONOR_NANS, but true if given mode supports sign-dependent rounding, and the rounding mode is important. */ |