From: Jakub Jelinek Date: Wed, 17 Jul 2024 21:47:17 +0000 (+0200) Subject: testsuite: Fix up pr111150* tests on i686-linux [PR111150] X-Git-Tag: basepoints/gcc-16~7440 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bbc8ea2e38d194fb5f2f52ab3f75301d4f84f06;p=thirdparty%2Fgcc.git testsuite: Fix up pr111150* tests on i686-linux [PR111150] The tests FAIL on i686-linux due to unexpected -Wpsabi diagnostics. Fixed as usually by adding -Wno-psabi to dg-options. 2024-07-17 Jakub Jelinek PR tree-optimization/111150 * gcc.dg/tree-ssa/pr111150.c: Add -Wno-psabi to dg-options. * g++.dg/tree-ssa/pr111150.C: Likewise. --- diff --git a/gcc/testsuite/g++.dg/tree-ssa/pr111150.C b/gcc/testsuite/g++.dg/tree-ssa/pr111150.C index ca02d8dc51e..ac5d3ef15d8 100644 --- a/gcc/testsuite/g++.dg/tree-ssa/pr111150.C +++ b/gcc/testsuite/g++.dg/tree-ssa/pr111150.C @@ -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 diff --git a/gcc/testsuite/gcc.dg/tree-ssa/pr111150.c b/gcc/testsuite/gcc.dg/tree-ssa/pr111150.c index cf25c5d758c..568ae9e44b3 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/pr111150.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/pr111150.c @@ -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))));