diff options
author | Jakub Jelinek <jakub@redhat.com> | 2022-07-27 12:02:12 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-07-28 14:09:04 +0200 |
commit | f0400e2a86888c08bbdba511f9abd2d4e7ba8e9e (patch) | |
tree | dcd9600686c615a304174ea6e6300720630be204 | |
parent | e23c73a42463fda2ca33a69d6b6af1d6b1fbc20e (diff) | |
download | gcc-f0400e2a86888c08bbdba511f9abd2d4e7ba8e9e.zip gcc-f0400e2a86888c08bbdba511f9abd2d4e7ba8e9e.tar.gz gcc-f0400e2a86888c08bbdba511f9abd2d4e7ba8e9e.tar.bz2 |
testsuite: Add -Wno-psabi to pr94920 tests [PR94920]
These tests fail on ia32, because we get -Wpsabi warnings.
Fixed by adding -Wno-psabi. The pr94920.C test still fails the
ABS_EXPR scan-tree-dump though, I think we'll need to add vect
options and use vect_int effective target or something similar.
2022-07-27 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/94920
* g++.dg/pr94920.C: Add -Wno-psabi to dg-options.
* g++.dg/pr94920-1.C: Add dg-additional-options -Wno-psabi.
-rw-r--r-- | gcc/testsuite/g++.dg/pr94920-1.C | 1 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/pr94920.C | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/pr94920-1.C b/gcc/testsuite/g++.dg/pr94920-1.C index 6c6483e..f8fa14a 100644 --- a/gcc/testsuite/g++.dg/pr94920-1.C +++ b/gcc/testsuite/g++.dg/pr94920-1.C @@ -1,4 +1,5 @@ /* PR tree-optimization/94920 */ +/* { dg-additional-options "-Wno-psabi" } */ /* { dg-do run } */ #include "pr94920.C" diff --git a/gcc/testsuite/g++.dg/pr94920.C b/gcc/testsuite/g++.dg/pr94920.C index 925ec4f..126b004 100644 --- a/gcc/testsuite/g++.dg/pr94920.C +++ b/gcc/testsuite/g++.dg/pr94920.C @@ -1,6 +1,6 @@ /* PR tree-optimization/94920 */ /* { dg-do compile } */ -/* { dg-options "-O2 -fdump-tree-optimized" } */ +/* { dg-options "-O2 -Wno-psabi -fdump-tree-optimized" } */ typedef int __attribute__((vector_size(4*sizeof(int)))) vint; |