This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch] Fix gcc.dg/torture/builtin-modf-1.c on powerpc-*-darwin*
- From: Jack Howarth <howarth at bromo dot msbb dot uc dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 19 Dec 2007 20:07:16 -0500
- Subject: [Patch] Fix gcc.dg/torture/builtin-modf-1.c on powerpc-*-darwin*
The attached patch adds the "-funsafe-math-optimizations fsigned-zeros
-fno-associative-math" flags via dg-options to the gcc.dg/torture/builtin-modf-1.c
testcase for powerpc-*-darwin*. With this change all 8 testruns of
the builtin-modf-1.c testcase pass on powerpc-apple-darwin9. Okay
for trunk?
Jack
2007-12-19 Jack Howarth <howarth@bromo.med.uc.edu>
* gcc.dg/torture/builtin-modf-1.c: Pass "-funsafe-math-optimizations
-fsigned-zeros -fno-associative-math" on powerpc-*-darwin*.
Index: gcc.dg/torture/builtin-modf-1.c
===================================================================
--- gcc.dg/torture/builtin-modf-1.c (revision 131091)
+++ gcc.dg/torture/builtin-modf-1.c (working copy)
@@ -7,6 +7,7 @@
/* { dg-do link } */
/* { dg-options "-fno-finite-math-only" { target sh*-*-* } } */
+/* { dg-options "-funsafe-math-optimizations -fsigned-zeros -fno-associative-math" { target powerpc-*-darwin* } } */
extern void link_error(int);