[PATCH, committed] AIX gcc.dg testsuite patches

David Edelsohn dje.gcc@gmail.com
Mon Nov 24 03:16:00 GMT 2014


This fixes a few more testsuite failures on AIX.  -fcompare-debug does
not work correctly on AIX and some vector tests generate extra
warnings about use of a non-standard ABI.

Bootstrapped on powerpc-ibm-aix7.1.0.0

Thanks, David

        * gcc.dg/autopar/pr46799.c: XFAIL on AIX.
        * gcc.dg/torture/pr59166.c: XFAIL on AIX.
        * gcc.dg/pr63914.c: Ignore non-standard ABI warning.
        * gcc.dg/pr63594-[12].c: Ignore non-standard ABI warning.

Index: gcc.dg/autopar/pr46799.c
===================================================================
--- gcc.dg/autopar/pr46799.c    (revision 217982)
+++ gcc.dg/autopar/pr46799.c    (working copy)
@@ -1,7 +1,9 @@
 /* PR debug/46799 */
 /* { dg-do compile } */
 /* { dg-options "-O -ftree-parallelize-loops=2 -fno-tree-dce -ftree-pre -fcompa
re-debug" } */
+/* { dg-xfail-if "compare-debug failure" { powerpc-ibm-aix* } { "*" } { "" } }
*/

 int
 foo (int i, int *a)
 {
Index: gcc.dg/pr63594-1.c
===================================================================
--- gcc.dg/pr63594-1.c  (revision 217982)
+++ gcc.dg/pr63594-1.c  (working copy)
@@ -2,6 +2,7 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -Wno-psabi" } */
 /* { dg-additional-options "-mno-mmx" { target i?86-*-* x86_64-*-* } } */
+/* { dg-prune-output "non-standard ABI extension" } */

 #define C1 c
 #define C2 C1, C1
Index: gcc.dg/torture/pr59166.c
===================================================================
--- gcc.dg/torture/pr59166.c    (revision 217982)
+++ gcc.dg/torture/pr59166.c    (working copy)
@@ -1,6 +1,6 @@
 /* PR rtl-optimization/59166 */
 /* { dg-additional-options "-fcompare-debug" } */
-/* { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } */
+/* { dg-xfail-if "compare-debug failure" { powerpc-ibm-aix* } { "*" } { "" } }
*/

 int a, b, c, f, g;

Index: gcc.dg/pr63914.c
===================================================================
--- gcc.dg/pr63914.c    (revision 217982)
+++ gcc.dg/pr63914.c    (working copy)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -ffast-math" } */
+/* { dg-prune-output "non-standard ABI extension" } */

 typedef float __m128 __attribute__ ((__vector_size__ (16)));
 __m128 a, d, e;
Index: gcc.dg/pr63594-2.c
===================================================================
--- gcc.dg/pr63594-2.c  (revision 217982)
+++ gcc.dg/pr63594-2.c  (working copy)
@@ -2,6 +2,7 @@
 /* { dg-do run } */
 /* { dg-options "-O2 -Wno-psabi" } */
 /* { dg-additional-options "-mno-mmx" { target i?86-*-* x86_64-*-* } } */
+/* { dg-prune-output "non-standard ABI extension" } */

 #define C1 c
 #define C2 C1, C1



More information about the Gcc-patches mailing list