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] skip gcc.target/i386/stackalign/longlong-2.c on darwin


The attached patch skips the new gcc.target/i386/stackalign/longlong-2.c
test on darwin since that platform doesn't support -mpreferred-stack-boundary=2
due to required 16 byte stack alignments. Tested on i686-apple-darwin9. Okay
for trunk?
              Jack


2009-03-12  Jack Howarth  <howarth@bromo.med.uc.edu>

	* testsuite/gcc.target/i386/stackalign/longlong-2.c: Skip on darwin.

Index: gcc/testsuite/gcc.target/i386/stackalign/longlong-2.c
===================================================================
--- gcc/testsuite/gcc.target/i386/stackalign/longlong-2.c	(revision 144825)
+++ gcc/testsuite/gcc.target/i386/stackalign/longlong-2.c	(working copy)
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile  { target { ! *-*-darwin* } } } */
 /* { dg-require-effective-target ilp32 } */
 /* { dg-options "-O2 -mpreferred-stack-boundary=2" } */
 /* { dg-final { scan-assembler-times "and\[lq\]?\[^\\n\]*-8,\[^\\n\]*sp" 2 } } */ 


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