From 49ba885c75da48bf04a54bf32a3c5853f2a9e859 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Wed, 15 May 2019 07:15:22 +0000 Subject: [PATCH] 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 --- gcc/testsuite/gcc.dg/pr87600.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__) -- 2.30.2