]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: fix AIX testsuite failures
authorDavid Edelsohn <dje.gcc@gmail.com>
Fri, 11 Jun 2021 00:12:08 +0000 (20:12 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Sat, 12 Jun 2021 18:34:05 +0000 (14:34 -0400)
* g++.dg/ext/builtin-shufflevector-2.C: Ignore psabi warning.
* gcc.dg/uninit-pr93100.c: Skip on AIX.
* gcc.target/powerpc/pr100085.c: Require int128 and float128.

gcc/testsuite/g++.dg/ext/builtin-shufflevector-2.C
gcc/testsuite/gcc.dg/uninit-pr93100.c
gcc/testsuite/gcc.target/powerpc/pr100085.c

index c8d096c5295de5bd57f76fc04a0a5e1812cf7389..fdf223ed3af885c138458ce419092e8f5aa884d1 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile }
+// { dg-additional-options "-Wno-psabi" }
 
 typedef double v2df __attribute__((vector_size(2 * sizeof (double))));
 
index 61b7e43403847fbc76e5b8b465ad17ee083ee030..531a5c3aa500a11b2eda9b181861d69a3ca00a61 100644 (file)
@@ -1,6 +1,7 @@
 /* PR tree-optimization/93100 - gcc -fsanitize=address inhibits -Wuninitialized
    { dg-do compile }
-   { dg-options "-Wall -fsanitize=address" } */
+   { dg-options "-Wall -fsanitize=address" }
+   { dg-skip-if "sanitize address" { "powerpc-ibm-aix*" } } */
 
 struct A
 {
index 7d8b147b12788591b7bab6e4459bb4f68fcf7043..bfb348a8587ade98603c399d74761e8b22a849ea 100644 (file)
@@ -1,4 +1,6 @@
 /* { dg-do compile } */
+/* { dg-require-effective-target int128 } */
+/* { dg-require-effective-target float128 } */
 /* { dg-options "-O2 -mdejagnu-cpu=power8" } */
 
 typedef __vector unsigned __int128 vui128_t;