sp-switch.c: Match zero or more underscores in alt_stack symbol.
authorOleg Endo <olegendo@gcc.gnu.org>
Sat, 13 Dec 2014 13:02:23 +0000 (13:02 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Sat, 13 Dec 2014 13:02:23 +0000 (13:02 +0000)
gcc/testsuite/
* gcc.target/sh/sp-switch.c: Match zero or more underscores in
alt_stack symbol.

From-SVN: r218706

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/sh/sp-switch.c

index 81e2ad05c9266147443d00749d1dce4fe1635f49..761218619775d71fc0a4c92e350f310100133f8c 100644 (file)
@@ -1,3 +1,8 @@
+2014-12-13  Oleg Endo  <olegendo@gcc.gnu.org>
+
+       * gcc.target/sh/sp-switch.c: Match zero or more underscores in
+       alt_stack symbol.
+
 2014-12-13  Tobias Burnus  <burnus@net-b.de>
 
        * gfortran.dg/realloc_on_assign_21.f90: Update dg-error.
index aad6ba001c062d10109e76373bf6e123a7a629a7..709d75607c01465b8f4bae95277a81abbfddb9d1 100644 (file)
@@ -1,6 +1,6 @@
 /* { dg-do compile }  */
 /* { dg-final { scan-assembler "mov\tr0,r15" } } */
-/* { dg-final { scan-assembler ".long\t_alt_stack" } } */
+/* { dg-final { scan-assembler ".long\t\[_\]*alt_stack" } } */
 
 void *alt_stack;
 void f() __attribute__ ((interrupt_handler, sp_switch ("alt_stack")));