OSDN Git Service

* gcc.dg/dll-4.c: Allow foo1 and foo2 in either order in
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Jul 2009 22:27:57 +0000 (22:27 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Jul 2009 22:27:57 +0000 (22:27 +0000)
scan-assembler.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150031 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/dll-4.c

index e9094b5..a2ca909 100644 (file)
@@ -1,3 +1,8 @@
+2009-07-23  Joseph Myers  <joseph@codesourcery.com>
+
+       * gcc.dg/dll-4.c: Allow foo1 and foo2 in either order in
+       scan-assembler.
+
 2009-07-23  Jakub Jelinek  <jakub@redhat.com>
 
        PR fortran/40839
index 9fcc8e9..897b550 100644 (file)
@@ -11,5 +11,6 @@ int foo2 = 5; /* { dg-warning "redeclared without dllimport" } */
 int f () { return foo1 + foo2; }
 
 /* FIXME: We should scan the output of nm for this case.  */
-/* { dg-final { scan-assembler "(foo2:.*\.comm\[ \t_\]*foo1)" } } */
+/* { dg-final { scan-assembler "(foo2:)" } } */
+/* { dg-final { scan-assembler "(\.comm\[ \t_\]*foo1)" } } */
 /* { dg-final { scan-assembler-not "(__imp_|_imp__)" } } */