> > diff --git a/gcc/testsuite/gcc.target/riscv/xtheadcondmov-bug.c > > b/gcc/testsuite/gcc.target/riscv/xtheadcondmov-bug.c > > new file mode 100644 > > index 000000000000..33658b863514 > > --- /dev/null > > +++ b/gcc/testsuite/gcc.target/riscv/xtheadcondmov-bug.c > > @@ -0,0 +1,12 @@ > > +/* { dg-do compile { target { rv64 } } } */ > > +/* { dg-options "-march=rv64gc_xtheadcondmov -mabi=lp64d -O2" } */ > > + > > +__attribute__((noinline, noclone)) long long int > > The attributes are useless as nothing is calling the function in the > tests.
Yes, my mistake, thanks. BR Jin