From: Iain Sandoe Date: Wed, 15 May 2019 07:15:22 +0000 (+0000) Subject: darwin, testsuite, ppc FIX PR87600 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=49ba885c75da48bf04a54bf32a3c5853f2a9e859;p=gcc.git 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 * gcc.dg/pr87600.h: Add __POWERPC__ as an alternate test for PowerPC platforms. From-SVN: r271200 --- diff --git a/gcc/testsuite/gcc.dg/pr87600.h b/gcc/testsuite/gcc.dg/pr87600.h index 5ebb9288e6f..af91f6345cd 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__)