]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Darwin, PPC] Handle GCC target pragma.
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 1 Nov 2019 20:05:17 +0000 (20:05 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Fri, 1 Nov 2019 20:05:17 +0000 (20:05 +0000)
For compatibility with other members of the port.
Note, that we do not handle the longcall attribute, since longcall
is not required/used on current Darwin.

gcc/

2019-11-01  Iain Sandoe  <iain@sandoe.co.uk>

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

* config/rs6000/darwin.h: Handle GCC target pragma.

From-SVN: r277717

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

index 8c1709bd2e70b2f41352794c79f2ef01fb70c1c0..feea93ebc4f1622a848ff0c4c8eb4ab323abccc9 100644 (file)
@@ -1,3 +1,10 @@
+2019-11-01  Iain Sandoe  <iain@sandoe.co.uk>
+
+       Backport from mainline
+       2019-06-23  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * config/rs6000/darwin.h: Handle GCC target pragma.
+
 2019-10-29  Iain Sandoe  <iain@sandoe.co.uk>
 
        Backport from mainline
index 0c81730bfa35aa0b2bdfdd2fc1d10e0561e86ac8..8f4f6e7d61c55c87a7fce3b6975d1d70154d6bca 100644 (file)
@@ -371,6 +371,7 @@ extern int darwin_emit_branch_islands;
   do \
     { \
       DARWIN_REGISTER_TARGET_PRAGMAS(); \
+      targetm.target_option.pragma_parse = rs6000_pragma_target_parse; \
       targetm.resolve_overloaded_builtin = altivec_resolve_overloaded_builtin; \
     } \
   while (0)