From 9638e3ef166cc37204143905bd8bec82a1f42437 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Wed, 28 Nov 2018 18:33:46 +0000 Subject: [PATCH] * gcc.dg/recip_sqrt_mult_[12345]: Do not add -fcompare-debug on AIX. From-SVN: r266577 --- gcc/testsuite/ChangeLog | 1 + gcc/testsuite/gcc.dg/recip_sqrt_mult_1.c | 3 ++- gcc/testsuite/gcc.dg/recip_sqrt_mult_2.c | 3 ++- gcc/testsuite/gcc.dg/recip_sqrt_mult_3.c | 3 ++- gcc/testsuite/gcc.dg/recip_sqrt_mult_4.c | 3 ++- gcc/testsuite/gcc.dg/recip_sqrt_mult_5.c | 3 ++- 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bbc27be2eba..86bc7c7119d 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 diff --git a/gcc/testsuite/gcc.dg/recip_sqrt_mult_1.c b/gcc/testsuite/gcc.dg/recip_sqrt_mult_1.c index e057306a4ee..80b9f679ed5 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 6ff284b60d3..fe40bf7d791 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 7a8305de727..7d191b66128 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 3b8c1ec600f..e192a3fb857 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 27c6cd2e512..764fbcad185 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. */ -- 2.30.2