From 7b4df96dc4199ccf1943c1d6bdca5400f6a9d3b0 Mon Sep 17 00:00:00 2001 From: olegendo Date: Sat, 13 Dec 2014 13:02:23 +0000 Subject: [PATCH] gcc/testsuite/ * gcc.target/sh/sp-switch.c: Match zero or more underscores in alt_stack symbol. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218706 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/sh/sp-switch.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 81e2ad05c926..761218619775 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 aad6ba001c06..709d75607c01 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"))); -- 2.47.3