https://gcc.gnu.org/g:c906b8f0199d16c93db1df99e789e2fc6bf31680

commit r16-7158-gc906b8f0199d16c93db1df99e789e2fc6bf31680
Author: Andrew Pinski <[email protected]>
Date:   Wed Jan 28 12:16:43 2026 -0800

    testsuite: Move pr116353.c from being x86 specific to being generic
    
    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.
    
    gcc/testsuite/ChangeLog:
    
            * gcc.target/i386/pr116353.c: Move to...
            * gcc.dg/torture/pr116353.c: ...here.
    
    Signed-off-by: Andrew Pinski <[email protected]>

Diff:
---
 gcc/testsuite/{gcc.target/i386 => gcc.dg/torture}/pr116353.c | 1 -
 1 file changed, 1 deletion(-)

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 8e254653d5d7..65ea83518cd3 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 {

Reply via email to