aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iains@gcc.gnu.org>2019-05-15 07:15:22 +0000
committerIain Sandoe <iains@gcc.gnu.org>2019-05-15 07:15:22 +0000
commit49ba885c75da48bf04a54bf32a3c5853f2a9e859 (patch)
tree2d90ddab1ba01fad29c8042940db90554444c35e
parent92bde79946cff05b65eec25847a76d3778cf811d (diff)
downloadgcc-49ba885c75da48bf04a54bf32a3c5853f2a9e859.zip
gcc-49ba885c75da48bf04a54bf32a3c5853f2a9e859.tar.gz
gcc-49ba885c75da48bf04a54bf32a3c5853f2a9e859.tar.bz2
darwin, testsuite, ppc FIX PR87600
The test fails on PPC Darwin because we emit __POWERPC__ instead of __powerpc__ fixed by allowing for both. 2019-05-15 Iain Sandoe <iain@sandoe.co.uk> * gcc.dg/pr87600.h: Add __POWERPC__ as an alternate test for PowerPC platforms. From-SVN: r271200
-rw-r--r--gcc/testsuite/gcc.dg/pr87600.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr87600.h b/gcc/testsuite/gcc.dg/pr87600.h
index 5ebb928..af91f63 100644
--- a/gcc/testsuite/gcc.dg/pr87600.h
+++ b/gcc/testsuite/gcc.dg/pr87600.h
@@ -7,7 +7,7 @@
#elif defined (__i386__)
# define REG1 "%eax"
# define REG2 "%edx"
-#elif defined (__powerpc__)
+#elif defined (__powerpc__) || defined (__POWERPC__)
# define REG1 "r3"
# define REG2 "r4"
#elif defined (__s390__)