From: Oleg Endo Date: Sat, 13 Dec 2014 13:02:23 +0000 (+0000) Subject: sp-switch.c: Match zero or more underscores in alt_stack symbol. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=42948a4343bf432678577a719456d5cbdd4dc099;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 81e2ad05c92..76121861977 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-12-13 Oleg Endo + + * gcc.target/sh/sp-switch.c: Match zero or more underscores in + alt_stack symbol. + 2014-12-13 Tobias Burnus * gfortran.dg/realloc_on_assign_21.f90: Update dg-error. diff --git a/gcc/testsuite/gcc.target/sh/sp-switch.c b/gcc/testsuite/gcc.target/sh/sp-switch.c index aad6ba001c0..709d75607c0 100644 --- a/gcc/testsuite/gcc.target/sh/sp-switch.c +++ b/gcc/testsuite/gcc.target/sh/sp-switch.c @@ -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")));