From: dje Date: Wed, 28 Nov 2018 18:33:46 +0000 (+0000) Subject: * gcc.dg/recip_sqrt_mult_[12345]: Do not add -fcompare-debug on AIX. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bf3df2df614f2c8f0d8a5e4557f850adbefdc97;p=thirdparty%2Fgcc.git * gcc.dg/recip_sqrt_mult_[12345]: Do not add -fcompare-debug on AIX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266577 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bbc27be2ebac..86bc7c7119d1 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 e057306a4ee8..80b9f679ed53 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 6ff284b60d3a..fe40bf7d791a 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 7a8305de7274..7d191b661286 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 3b8c1ec600f2..e192a3fb8578 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 27c6cd2e5128..764fbcad1851 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. */