On Wed, Jul 17, 2024 at 10:00:24AM -0700, Andrew Pinski wrote: > > > * gcc.dg/tree-ssa/pr111150.c: New test. > > > * gcc.dg/tree-ssa/pr111150-1.c: New test. > > > * g++.dg/tree-ssa/pr111150.C: New test.
The tests FAIL on i686-linux due to unexpected -Wpsabi diagnostics. Fixed as usually by adding -Wno-psabi to dg-options. Tested on x86_64-linux with GXX_TESTSUITE_STDS=98,11,14,17,20,23,26 make check-gcc check-g++ RUNTESTFLAGS="--target_board=unix\{-m32,-m64,-m32/-mno-mmx/-mno-sse\} dg.exp=pr111150* tree-ssa.exp=pr111150*" and committed to trunk as obvious. 2024-07-17 Jakub Jelinek <ja...@redhat.com> PR tree-optimization/111150 * gcc.dg/tree-ssa/pr111150.c: Add -Wno-psabi to dg-options. * g++.dg/tree-ssa/pr111150.C: Likewise. --- gcc/testsuite/gcc.dg/tree-ssa/pr111150.c.jj 2024-07-17 23:36:01.339306510 +0200 +++ gcc/testsuite/gcc.dg/tree-ssa/pr111150.c 2024-07-17 23:45:05.216510014 +0200 @@ -1,6 +1,6 @@ /* PR tree-optimization/111150 */ /* { dg-do compile } */ -/* { dg-options "-O1 -fdump-tree-forwprop1" } */ +/* { dg-options "-O1 -fdump-tree-forwprop1 -Wno-psabi" } */ typedef int v4si __attribute((__vector_size__(4 * sizeof(int)))); --- gcc/testsuite/g++.dg/tree-ssa/pr111150.C.jj 2024-07-17 23:36:01.338306522 +0200 +++ gcc/testsuite/g++.dg/tree-ssa/pr111150.C 2024-07-17 23:45:25.319258802 +0200 @@ -1,6 +1,7 @@ /* PR tree-optimization/111150 */ /* { dg-do compile } */ -/* { dg-options "-O1 -fdump-tree-forwprop1" } */ +/* { dg-options "-O1 -fdump-tree-forwprop1 -Wno-psabi" } */ + typedef int v4si __attribute((__vector_size__(4 * sizeof(int)))); /* Before the patch, VEC_COND_EXPR was generated for each statement in the Jakub