> > I'm fine with whatever you guys come up with...
>
> Likewise.  I have no preference.  Whatever gets approved is ok with me.
So let's pick the Iain's proposal:

Index: gcc/testsuite/c-c++-common/cxxbitfields-3.c
===================================================================
--- gcc/testsuite/c-c++-common/cxxbitfields-3.c (revision 182177)
+++ gcc/testsuite/c-c++-common/cxxbitfields-3.c (working copy)
@@ -18,4 +18,5 @@ void setit()
   var.j = 5;
 }
 
-/* { dg-final { scan-assembler "movl.*, var" } } */
+/* { dg-final { scan-assembler "movl.*, _?var" { target { ! *-*-darwin* } } } 
} */
+/* { dg-final { scan-assembler "movl.*, (_?var|\\(%)" { target *-*-darwin* } } 
} */

Dominique

Reply via email to