From: Yixuan Chen Date: Fri, 18 Nov 2022 15:47:11 +0000 (-0700) Subject: Fix testcase for architectures that use .srodata X-Git-Tag: basepoints/gcc-14~3065 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acc205eff4091d761af45f992ab43f8d09cbb5ad;p=thirdparty%2Fgcc.git Fix testcase for architectures that use .srodata gcc/testsuite: * gcc.dg/pr25521.c: Fix testcase for architectures that use .srodata. --- diff --git a/gcc/testsuite/gcc.dg/pr25521.c b/gcc/testsuite/gcc.dg/pr25521.c index 74fe2ae66267..63363a03b9ff 100644 --- a/gcc/testsuite/gcc.dg/pr25521.c +++ b/gcc/testsuite/gcc.dg/pr25521.c @@ -7,4 +7,4 @@ const volatile int foo = 30; -/* { dg-final { scan-assembler "\\.rodata" } } */ +/* { dg-final { scan-assembler "\\.s\?rodata" } } */