Thank you for pointing it out. I guess the RV32 issue may still exist.

Bohan

------------------------------------------------------------------
From:Xi Ruoyao <xry...@xry111.site>
Send Time:2024 Dec. 3 (Tue.) 15:56
To:Bohan Lei<garth...@linux.alibaba.com>; "gcc-patches"<gcc-patches@gcc.gnu.org>
Cc:jeffreyalaw<jeffreya...@gmail.com>; 
mariamarutunian<mariamarutun...@gmail.com>
Subject:Re: [PATCH] testsuite: Fix CRC testcases


On Tue, 2024-12-03 at 15:23 +0800, Bohan Lei wrote:
> 
> diff --git a/gcc/testsuite/gcc.dg/crc-linux-1.c
> b/gcc/testsuite/gcc.dg/crc-linux-1.c
> index 918b423a583..3261ba48b8b 100644
> --- a/gcc/testsuite/gcc.dg/crc-linux-1.c
> +++ b/gcc/testsuite/gcc.dg/crc-linux-1.c
> @@ -1,5 +1,5 @@
>  /* { dg-do compile } */
> -/* { dg-options "-fdump-tree-crc-details -w" } */
> +/* { dg-options "-O2 -fdump-tree-crc-details -w" } */
>  /* { dg-skip-if "" { *-*-* } { "-O0" "-O1" "-Os" "-O3" "-flto" } } */

No, the current consensus is moving them from gcc.dg to gcc.dg/torture.
to fix the issue.  See
https://gcc.gnu.org/pipermail/gcc-patches/2024-December/670619.html.

-- 
Xi Ruoyao <xry...@xry111.site>
School of Aerospace Science and Technology, Xidian University

Reply via email to