On Thu, Jan 29, 2026 at 2:05 AM Andrew Pinski <[email protected]> wrote: > > While working on ifcvt's noce_can_force_operand, I noticed that > the testcase pr116353.c was added as x86 specific testcase but > it has nothing in it that is x86 specific. It is currently > compiled at -O2 but there is no reason why it can't be compiled > at any other optimization level. > So this moves the testcase to be a torture testcase. > > The original issue showed up on x86 with respect to ifcvt > where there was a vec_select which does not have an optab for it > but it might show up on other targets too. > > Tested on x86_64-linux-gnu.
OK. > gcc/testsuite/ChangeLog: > > * gcc.target/i386/pr116353.c: Move to... > * gcc.dg/torture/pr116353.c: ...here. > > Signed-off-by: Andrew Pinski <[email protected]> > --- > gcc/testsuite/{gcc.target/i386 => gcc.dg/torture}/pr116353.c | 1 - > 1 file changed, 1 deletion(-) > rename gcc/testsuite/{gcc.target/i386 => gcc.dg/torture}/pr116353.c (98%) > > diff --git a/gcc/testsuite/gcc.target/i386/pr116353.c > b/gcc/testsuite/gcc.dg/torture/pr116353.c > similarity index 98% > rename from gcc/testsuite/gcc.target/i386/pr116353.c > rename to gcc/testsuite/gcc.dg/torture/pr116353.c > index 8e254653d5d..65ea83518cd 100644 > --- a/gcc/testsuite/gcc.target/i386/pr116353.c > +++ b/gcc/testsuite/gcc.dg/torture/pr116353.c > @@ -1,6 +1,5 @@ > /* PR tree-optimization/116353 */ > /* { dg-do compile } */ > -/* { dg-options "-O2" } */ > > enum desmode { C }; > struct { > -- > 2.43.0 >
