From: Yixuan Chen <chenyixuan@iscas.ac.cn>
To: gcc-patches@gcc.gnu.org
Cc: kito.cheng@gmail.com, andrew@sifive.com, oriachiuan@gmail.com,
jiawei@iscas.ac.cn, Yixuan Chen <chenyixuan@iscas.ac.cn>
Subject: [PATCH] optimize the testcase for architectures that use ".srodata"
Date: Fri, 18 Nov 2022 13:49:04 +0800 [thread overview]
Message-ID: <20221118054904.240603-1-chenyixuan@iscas.ac.cn> (raw)
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
next reply other threads:[~2022-11-18 5:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-18 5:49 Yixuan Chen [this message]
2022-11-18 8:47 ` Richard Biener
2022-11-18 15:48 ` Jeff Law
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221118054904.240603-1-chenyixuan@iscas.ac.cn \
--to=chenyixuan@iscas.ac.cn \
--cc=andrew@sifive.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=jiawei@iscas.ac.cn \
--cc=kito.cheng@gmail.com \
--cc=oriachiuan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).