From: jsm28 Date: Thu, 23 Jul 2009 22:27:57 +0000 (+0000) Subject: * gcc.dg/dll-4.c: Allow foo1 and foo2 in either order in X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=aef96411dda49fce0294a54c5d396b73d4f11857 * gcc.dg/dll-4.c: Allow foo1 and foo2 in either order in scan-assembler. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150031 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e9094b57733..a2ca909642b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-07-23 Joseph Myers + + * gcc.dg/dll-4.c: Allow foo1 and foo2 in either order in + scan-assembler. + 2009-07-23 Jakub Jelinek PR fortran/40839 diff --git a/gcc/testsuite/gcc.dg/dll-4.c b/gcc/testsuite/gcc.dg/dll-4.c index 9fcc8e9ad2c..897b5506dc6 100644 --- a/gcc/testsuite/gcc.dg/dll-4.c +++ b/gcc/testsuite/gcc.dg/dll-4.c @@ -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__)" } } */