public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] optimize the testcase for architectures that use ".srodata"
@ 2022-11-18  5:49 Yixuan Chen
  2022-11-18  8:47 ` Richard Biener
  2022-11-18 15:48 ` Jeff Law
  0 siblings, 2 replies; 3+ messages in thread
From: Yixuan Chen @ 2022-11-18  5:49 UTC (permalink / raw)
  To: gcc-patches; +Cc: kito.cheng, andrew, oriachiuan, jiawei, Yixuan Chen

2022-11-18  Yixuan Chen  <chenyixuan@iscas.ac.cn>

        * gcc.dg/pr25521.c: optimize the testcast for architectures that use ".srodata"

testsuite/gcc.dg/pr25521.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/pr25521.c b/gcc/testsuite/gcc.dg/pr25521.c
index 74fe2ae6626..63363a03b9f 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" } } */
-- 
2.37.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-18 15:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-18  5:49 [PATCH] optimize the testcase for architectures that use ".srodata" Yixuan Chen
2022-11-18  8:47 ` Richard Biener
2022-11-18 15:48 ` Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).