On Fri, Feb 13, 2026 at 08:16:21PM -0800, Andrew Pinski wrote: > I could not figure out how to get a testcase that works on ia32 so I > limited the testcase instead to x86_64 and aarch64 because I know > there are other targets where this could fail for too and it was > easier to limit it to a few targets where it would work.
-FAIL: gcc.dg/tree-ssa/copy-prop-aggregate-return-1.c scan-tree-dump-times forwprop1 "after previous" 1 +ERROR: gcc.dg/tree-ssa/copy-prop-aggregate-return-1.c: error executing dg-final: syntax error in target selector "target !ia32" on i686-linux. The following patch fixes that. Tested on x86_64-linux and i686-linux, committed to trunk as obvious. 2026-02-17 Jakub Jelinek <[email protected]> * gcc.dg/tree-ssa/copy-prop-aggregate-return-1.c: Fix up target selector. --- gcc/testsuite/gcc.dg/tree-ssa/copy-prop-aggregate-return-1.c.jj 2026-02-14 18:04:35.193176330 +0100 +++ gcc/testsuite/gcc.dg/tree-ssa/copy-prop-aggregate-return-1.c 2026-02-17 08:50:59.922515825 +0100 @@ -19,4 +19,4 @@ struct s1 g() return f(); } -/* { dg-final { scan-tree-dump-times "after previous" 1 "forwprop1" { target { { x86_64_*-*-* i?86-*-* } && !ia32 } || { aarch64*-*-* } } } } */ +/* { dg-final { scan-tree-dump-times "after previous" 1 "forwprop1" { target { { x86_64*-*-* i?86-*-* } && { ! ia32 } } || { aarch64*-*-* } } } } */ Jakub
