From db02da79174dea480aa4217dbe7afd3d3b8364d1 Mon Sep 17 00:00:00 2001 From: Roger Sayle Date: Fri, 19 Jan 2007 19:35:22 +0000 Subject: 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 --- gcc/testsuite/gcc.dg/pr30172-1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/testsuite/gcc.dg/pr30172-1.c') 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; } -- cgit v1.1