]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Fix up pr94482.c testcase [PR94482]
authorJakub Jelinek <jakub@redhat.com>
Sat, 11 Apr 2020 05:50:50 +0000 (07:50 +0200)
committerJakub Jelinek <jakub@redhat.com>
Sat, 11 Apr 2020 05:50:50 +0000 (07:50 +0200)
commitbb87d5cc77db1f28083990f44e20b6c0728d925e
treedda9278f1926c2f7c15353980462501bf063d9d5
parenta615ea71bc8fbf31b9bc71cb373a7ca5b9cca44a
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  <jakub@redhat.com>

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.
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr94482.c