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

* Re: [PATCH] optimize the testcase for architectures that use ".srodata"
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Biener @ 2022-11-18  8:47 UTC (permalink / raw)
  To: Yixuan Chen; +Cc: gcc-patches, kito.cheng, andrew, oriachiuan, jiawei

On Fri, Nov 18, 2022 at 6:49 AM Yixuan Chen <chenyixuan@iscas.ac.cn> wrote:

OK.

> 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

* Re: [PATCH] optimize the testcase for architectures that use ".srodata"
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Law @ 2022-11-18 15:48 UTC (permalink / raw)
  To: Yixuan Chen, gcc-patches; +Cc: kito.cheng, andrew, oriachiuan, jiawei

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]


On 11/17/22 22:49, Yixuan Chen wrote:
> Subject:
> [PATCH] optimize the testcase for architectures that use ".srodata"
> From:
> Yixuan Chen <chenyixuan@iscas.ac.cn>
> Date:
> 11/17/22, 22:49
>
> 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>
>
>
> 2022-11-18  Yixuan Chen<chenyixuan@iscas.ac.cn>
>
>          * gcc.dg/pr25521.c: optimize the testcast for architectures that use ".srodata"

I fixed up the ChangeLog a bit and committed this for you. Thanks.

jeff


^ 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).