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

OK.

> 2022-11-18  Yixuan Chen  <chenyix...@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
>

Reply via email to