aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2018-11-28 18:33:46 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2018-11-28 13:33:46 -0500
commit9638e3ef166cc37204143905bd8bec82a1f42437 (patch)
treead535e20a6383176c2005cdf6383c3b5f6820a92
parent45eea9f6edf816106b45ca64df82881ecb7b0c7f (diff)
downloadgcc-9638e3ef166cc37204143905bd8bec82a1f42437.zip
gcc-9638e3ef166cc37204143905bd8bec82a1f42437.tar.gz
gcc-9638e3ef166cc37204143905bd8bec82a1f42437.tar.bz2
* gcc.dg/recip_sqrt_mult_[12345]: Do not add -fcompare-debug on AIX.
From-SVN: r266577
-rw-r--r--gcc/testsuite/ChangeLog1
-rw-r--r--gcc/testsuite/gcc.dg/recip_sqrt_mult_1.c3
-rw-r--r--gcc/testsuite/gcc.dg/recip_sqrt_mult_2.c3
-rw-r--r--gcc/testsuite/gcc.dg/recip_sqrt_mult_3.c3
-rw-r--r--gcc/testsuite/gcc.dg/recip_sqrt_mult_4.c3
-rw-r--r--gcc/testsuite/gcc.dg/recip_sqrt_mult_5.c3
6 files changed, 11 insertions, 5 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index bbc27be..86bc7c7 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -2,6 +2,7 @@
* g++.dg/debug/dwarf2/pr86900.C: XFAIL AIX.
* g++.dg/opt/pr83084.C: XFAIL AIX.
+ * gcc.dg/recip_sqrt_mult_[12345]: Do not add -fcompare-debug on AIX.
2018-11-28 Richard Biener <rguenther@suse.de>
diff --git a/gcc/testsuite/gcc.dg/recip_sqrt_mult_1.c b/gcc/testsuite/gcc.dg/recip_sqrt_mult_1.c
index e057306..80b9f67 100644
--- a/gcc/testsuite/gcc.dg/recip_sqrt_mult_1.c
+++ b/gcc/testsuite/gcc.dg/recip_sqrt_mult_1.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
-/* { dg-options "-Ofast -fdump-tree-recip -fcompare-debug" } */
+/* { dg-options "-Ofast -fdump-tree-recip" } */
+/* { dg-additional-options "-fcompare-debug" { target { ! powerpc-ibm-aix* } } } */
double res, res2, tmp;
void
diff --git a/gcc/testsuite/gcc.dg/recip_sqrt_mult_2.c b/gcc/testsuite/gcc.dg/recip_sqrt_mult_2.c
index 6ff284b..fe40bf7 100644
--- a/gcc/testsuite/gcc.dg/recip_sqrt_mult_2.c
+++ b/gcc/testsuite/gcc.dg/recip_sqrt_mult_2.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
-/* { dg-options "-Ofast -fdump-tree-optimized -fcompare-debug" } */
+/* { dg-options "-Ofast -fdump-tree-optimized" } */
+/* { dg-additional-options "-fcompare-debug" { target { ! powerpc-ibm-aix* } } } */
float
foo (float a)
diff --git a/gcc/testsuite/gcc.dg/recip_sqrt_mult_3.c b/gcc/testsuite/gcc.dg/recip_sqrt_mult_3.c
index 7a8305d..7d191b6 100644
--- a/gcc/testsuite/gcc.dg/recip_sqrt_mult_3.c
+++ b/gcc/testsuite/gcc.dg/recip_sqrt_mult_3.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
-/* { dg-options "-Ofast -fdump-tree-optimized -fcompare-debug" } */
+/* { dg-options "-Ofast -fdump-tree-optimized" } */
+/* { dg-additional-options "-fcompare-debug" { target { ! powerpc-ibm-aix* } } } */
double
foo (double a)
diff --git a/gcc/testsuite/gcc.dg/recip_sqrt_mult_4.c b/gcc/testsuite/gcc.dg/recip_sqrt_mult_4.c
index 3b8c1ec..e192a3f 100644
--- a/gcc/testsuite/gcc.dg/recip_sqrt_mult_4.c
+++ b/gcc/testsuite/gcc.dg/recip_sqrt_mult_4.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
-/* { dg-options "-Ofast -fdump-tree-recip -fcompare-debug" } */
+/* { dg-options "-Ofast -fdump-tree-recip" } */
+/* { dg-additional-options "-fcompare-debug" { target { ! powerpc-ibm-aix* } } } */
/* The main path doesn't have any multiplications.
Avoid introducing them in the recip pass. */
diff --git a/gcc/testsuite/gcc.dg/recip_sqrt_mult_5.c b/gcc/testsuite/gcc.dg/recip_sqrt_mult_5.c
index 27c6cd2..764fbcad 100644
--- a/gcc/testsuite/gcc.dg/recip_sqrt_mult_5.c
+++ b/gcc/testsuite/gcc.dg/recip_sqrt_mult_5.c
@@ -1,5 +1,6 @@
/* { dg-do compile } */
-/* { dg-options "-Ofast -fdump-tree-recip -fcompare-debug" } */
+/* { dg-options "-Ofast -fdump-tree-recip" } */
+/* { dg-additional-options "-fcompare-debug" { target { ! powerpc-ibm-aix* } } } */
/* We want to do the recip_sqrt transformations here there is already
a multiplication on the main path. */