]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Darwin, ppc, backport test fixes.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 3 Aug 2019 19:32:18 +0000 (19:32 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sat, 3 Aug 2019 19:32:18 +0000 (19:32 +0000)
Several tests expect support for the GCC target pragma.
Act on this for compatibility with the port.

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: Handle GCC target pragma.

From-SVN: r274042

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

index 3d4cb6ce719b337b7ce64c91156a643925704ddb..c82acd9b666ae5359967940e652ee5bb82f2b42c 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: Handle GCC target pragma.
+
 2019-08-03  Iain Sandoe  <iain@sandoe.co.uk>
 
        Backport from mainline
index 47f34db590e25a81d1081c9eb8b02d5d4ea91465..5007829c515577bd03f1b2dcb3906a52dc89475a 100644 (file)
@@ -397,6 +397,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)