]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix testcase for architectures that use .srodata
authorYixuan Chen <chenyixuan@iscas.ac.cn>
Fri, 18 Nov 2022 15:47:11 +0000 (08:47 -0700)
committerJeff Law <jlaw@ventanamicro.com>
Fri, 18 Nov 2022 15:47:11 +0000 (08:47 -0700)
gcc/testsuite:

* gcc.dg/pr25521.c: Fix testcase for architectures that use .srodata.

gcc/testsuite/gcc.dg/pr25521.c

index 74fe2ae662675d60c654aa140959e62ec1bbd271..63363a03b9ff6c53e4c8f631090de1ea779f3c23 100644 (file)
@@ -7,4 +7,4 @@
 const volatile int foo = 30;
 
 
-/* { dg-final { scan-assembler "\\.rodata" } } */
+/* { dg-final { scan-assembler "\\.s\?rodata" } } */