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]

[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);
 


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