* gcc.dg/dll-?.c Add thumb to target list.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Oct 1998 18:17:00 +0000 (18:17 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Oct 1998 18:17:00 +0000 (18:17 +0000)
        Fix assembler scan patterns to match current assembler output.

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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/dll-1.c
gcc/testsuite/gcc.dg/dll-2.c
gcc/testsuite/gcc.dg/dll-3.c
gcc/testsuite/gcc.dg/dll-4.c

index fc85ca1..bcea512 100644 (file)
@@ -1,3 +1,8 @@
+Thu Oct  8 19:14:05 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * gcc.dg/dll-?.c Add thumb to target list.
+       Fix assembler scan patterns to match current assembler output.
+
 1998-10-08  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * g++.old-deja/g++.pt/expr6.C: New test.  operator?: breaks
index 72c6ba5..eb3b9b8 100644 (file)
@@ -1,9 +1,10 @@
 /* { dg-do compile { target arm*-*-pe* } } */
+/* { dg-do compile { target thumb*-*-pe* } } */
 /* { dg-options -mno-nop-fun-dllimport } */
 
 __declspec (dllimport) void imp ();
 
 __declspec (dllexport) void exp () { imp (); }
 
-/* { dg-final { scan-assembler dll-1.c "__imp_imp.*\.section\[ \t\]*.drectve\n\[^\n\]*-export:exp" } } */
+/* { dg-final { scan-assembler dll-1.c "\.section\[ \t\]*.drectve\n\[^\n\]*-export:exp.*__imp_imp" } } */
 /* { dg-final { scan-assembler-not dll-1.c "__imp_exp" } } */
index e49f6e2..c55e920 100644 (file)
@@ -9,6 +9,7 @@
    and functions.  In C++, it only works for functions.  */
 
 /* { dg-do compile { target arm*-*-pe* } } */
+/* { dg-do compile { target thumb*-*-pe* } } */
 
 __declspec (dllimport) int foo1 ();
 __declspec (dllexport) int foo1 ();
index 4976ebb..0f7818f 100644 (file)
@@ -1,6 +1,7 @@
 /* Ensure dllexport overrides dllimport.  */
 
 /* { dg-do compile { target arm*-*-pe* } } */
+/* { dg-do compile { target thumb*-*-pe* } } */
 
 __declspec (dllimport) int foo1 ();
 __declspec (dllexport) int foo1 ();
index ae61786..b708790 100644 (file)
@@ -1,4 +1,5 @@
 /* { dg-do compile { target arm*-*-pe* } } */
+/* { dg-do compile { target thumb*-*-pe* } } */
 
 __declspec (dllimport) int foo1;
 int foo1;
@@ -9,5 +10,5 @@ int foo2 = 5;
 int f () { return foo1 + foo2; }
 
 /* FIXME: We should scan the output of nm for this case.  */
-/* { dg-final { scan-assembler dll-4.c "(\.comm\[ \t\]*foo1.*\nfoo2:|\nfoo2:.*\.comm\[ \t\]*foo1)" } } */
+/* { dg-final { scan-assembler dll-4.c "(foo2:.*\.comm\[ \t_\]*foo1)" } } */
 /* { dg-final { scan-assembler-not dll-4.c "__imp_" } } */