From bf5d24ca9f9183338e75a8e55ab7d8e10b69346f Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Fri, 1 Nov 2019 20:05:17 +0000 Subject: [PATCH] [Darwin, PPC] Handle GCC target pragma. 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 Backport from mainline 2019-06-23 Iain Sandoe * config/rs6000/darwin.h: Handle GCC target pragma. From-SVN: r277717 --- gcc/ChangeLog | 7 +++++++ gcc/config/rs6000/darwin.h | 1 + 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8c1709bd2e70..feea93ebc4f1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2019-11-01 Iain Sandoe + + Backport from mainline + 2019-06-23 Iain Sandoe + + * config/rs6000/darwin.h: Handle GCC target pragma. + 2019-10-29 Iain Sandoe Backport from mainline diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h index 0c81730bfa35..8f4f6e7d61c5 100644 --- a/gcc/config/rs6000/darwin.h +++ b/gcc/config/rs6000/darwin.h @@ -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) -- 2.47.2