On 2018-08-03 5:06 AM, Richard Earnshaw (lists) wrote:
I don't think there's a suitable barrier.  The sync instruction seems
like overkill.

So, I'm going to install attached change after testing is complete.

It's your call as port maintainers.
I committed the attached change after testing on hppa-unknown-linux-gnu.

Dave

--
John David Anglin  dave.ang...@bell.net

2018-08-06  John David Anglin  <dang...@gcc.gnu.org>

        PR target/86807
        * config/pa/pa.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
        Define to speculation_safe_value_not_needed.

Index: config/pa/pa.c
===================================================================
--- config/pa/pa.c      (revision 263228)
+++ config/pa/pa.c      (working copy)
@@ -428,6 +428,9 @@
 #undef TARGET_STARTING_FRAME_OFFSET
 #define TARGET_STARTING_FRAME_OFFSET pa_starting_frame_offset
 
+#undef TARGET_HAVE_SPECULATION_SAFE_VALUE
+#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed
+
 struct gcc_target targetm = TARGET_INITIALIZER;
 
 /* Parse the -mfixed-range= option string.  */

Reply via email to