This test fails on powerpc-darwin, because the platform
emits __POWERPC__ rather than __powerpc__.  

Fixed thus, tested on powerpc-darwin9, powerpc-linux-gnu.
Applied to mainline.
Iain

gcc/testsuite/

 2019-05-15  Iain Sandoe  <i...@sandoe.co.uk>
 
        * gcc.dg/pr87600.h: Add __POWERPC__ as an alternate test
        for PowerPC platforms.

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__)

Reply via email to