]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Darwin, ppc, backport test fixes.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 3 Aug 2019 19:25:05 +0000 (19:25 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sat, 3 Aug 2019 19:25:05 +0000 (19:25 +0000)
Some tests expect upper case versions of the ppc/ppc64
macros, so bring Darwin into line with other port
members.

2019-08-03  Iain Sandoe  <iain@sandoe.co.uk>

Backport from mainline
2019-06-23  Iain Sandoe  <iain@sandoe.co.uk>

* config/rs6000/darwin.h: (__PPC__, __PPC64__): New.

From-SVN: r274041

gcc/ChangeLog
gcc/config/rs6000/darwin.h

index a967df1bd2e85fba4b8127e2ecc46be4a10722b9..3d4cb6ce719b337b7ce64c91156a643925704ddb 100644 (file)
@@ -1,3 +1,10 @@
+2019-08-03  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backport from mainline
+       2019-06-23  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * config/rs6000/darwin.h: (__PPC__, __PPC64__): New.
+
 2019-08-02  Martin Sebor  <msebor@redhat.com>
 
        Backport from mainline
index 9fb36e41e7dc34d1e0b6d1633492e5aadc7836c6..47f34db590e25a81d1081c9eb8b02d5d4ea91465 100644 (file)
@@ -54,7 +54,9 @@
   do                                                   \
     {                                                  \
       if (!TARGET_64BIT) builtin_define ("__ppc__");   \
+      if (!TARGET_64BIT) builtin_define ("__PPC__");   \
       if (TARGET_64BIT) builtin_define ("__ppc64__");  \
+      if (TARGET_64BIT) builtin_define ("__PPC64__");  \
       builtin_define ("__POWERPC__");                  \
       builtin_define ("__NATURAL_ALIGNMENT__");                \
       darwin_cpp_builtins (pfile);                     \