[PATCH] Fix PR target/36399

Jack Howarth howarth@bromo.med.uc.edu
Sat Mar 13 17:31:00 GMT 2010


On Sat, Mar 13, 2010 at 10:08:54AM +0200, Ozkan Sezer wrote:
> > --- gcc/testsuite/gcc.target/i386/push-1.c      (revision 157393)
> > +++ gcc/testsuite/gcc.target/i386/push-1.c      (working copy)
> > @@ -12,4 +12,4 @@
> >    foo (x, x, x, x, 5);
> >  }
> >
> > -/* { dg-final { scan-assembler-not "movups" { xfail *-*-* } } } */
> > +/* { dg-final { scan-assembler-not "movups" { xfail *-*-![darwin]* } } } */
> 
> Tried the part about this testsuite change with gcc-4.4 and it
> caused this new failure on i686-pc-linux-gnu:
> FAIL: gcc.target/i386/push-1.c scan-assembler-not movups

The following variation should work for you...

Index: gcc.target/i386/push-1.c
===================================================================
--- gcc.target/i386/push-1.c	(revision 157414)
+++ gcc.target/i386/push-1.c	(working copy)
@@ -12,4 +12,4 @@
   foo (x, x, x, x, 5);
 }
 
-/* { dg-final { scan-assembler-not "movups" { xfail *-*-* } } } */
+/* { dg-final { scan-assembler-not "movups" { xfail { ! *-*-darwin* } } } } */



More information about the Gcc-patches mailing list