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