From: Jakub Jelinek Date: Sat, 11 Apr 2020 05:50:50 +0000 (+0200) Subject: testsuite: Fix up pr94482.c testcase [PR94482] X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb87d5cc77db1f28083990f44e20b6c0728d925e;p=gcc.git testsuite: Fix up pr94482.c testcase [PR94482] The test FAILs on powerpc64-linux with -m32 due to psabi warnings. Furthermore, the test needs really -msse2 to reproduce on x86 -m32 at -O2. 2020-04-11 Jakub Jelinek PR tree-optimization/94482 * gcc.dg/torture/pr94482.c: Add -Wno-psabi -w. Don't add -msse and sse_runtime effective target on x86, instead only add -msse2 if target is sse2_runtime. --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 91b70275ba6..8f7ef8f6483 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2020-04-11 Jakub Jelinek + + PR tree-optimization/94482 + * gcc.dg/torture/pr94482.c: Add -Wno-psabi -w. Don't add -msse + and sse_runtime effective target on x86, instead only add -msse2 + if target is sse2_runtime. + 2020-04-10 Iain Sandoe PR c++/94528 diff --git a/gcc/testsuite/gcc.dg/torture/pr94482.c b/gcc/testsuite/gcc.dg/torture/pr94482.c index d9ccaf39049..9264842e349 100644 --- a/gcc/testsuite/gcc.dg/torture/pr94482.c +++ b/gcc/testsuite/gcc.dg/torture/pr94482.c @@ -1,6 +1,6 @@ /* { dg-do run } */ -/* { dg-options "-msse" { target { i?86-*-* x86_64-*-* } } } */ -/* { dg-require-effective-target sse_runtime { target { i?86-*-* x86_64-*-* } } } */ +/* { dg-additional-options "-Wno-psabi -w" } */ +/* { dg-additional-options "-msse2" { target sse2_runtime } } */ typedef unsigned V __attribute__ ((__vector_size__ (16))); union U