sp-switch.c: Match zero or more underscores in alt_stack symbol.

gcc/testsuite/
	* gcc.target/sh/sp-switch.c: Match zero or more underscores in
	alt_stack symbol.

From-SVN: r218706
This commit is contained in:
Oleg Endo 2014-12-13 13:02:23 +00:00
parent b6a65eb6fa
commit 42948a4343
2 changed files with 6 additions and 1 deletions

View 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.

View 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")));