diff options
author | Joseph Myers <joseph@codesourcery.com> | 2009-07-23 23:27:57 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2009-07-23 23:27:57 +0100 |
commit | 0aeedfd71fef8461bd72c2c9690c483524843ef6 (patch) | |
tree | 70347bb5685ce97c2e7f7b52442b218b320278d5 | |
parent | 0d42d4908f94225a2301f792bea330b55ca7bf5a (diff) | |
download | gcc-0aeedfd71fef8461bd72c2c9690c483524843ef6.zip gcc-0aeedfd71fef8461bd72c2c9690c483524843ef6.tar.gz gcc-0aeedfd71fef8461bd72c2c9690c483524843ef6.tar.bz2 |
dll-4.c: Allow foo1 and foo2 in either order in scan-assembler.
* gcc.dg/dll-4.c: Allow foo1 and foo2 in either order in
scan-assembler.
From-SVN: r150031
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/dll-4.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e9094b5..a2ca909 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/gcc.dg/dll-4.c b/gcc/testsuite/gcc.dg/dll-4.c index 9fcc8e9..897b550 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__)" } } */ |