Committed: fix target/86779, speculative error for cris-*

Message ID 201809052328.w85NSElp025446@ignucius.se.axis.com
State New
Headers show
Series
  • Committed: fix target/86779, speculative error for cris-*
Related show

Commit Message

Hans-Peter Nilsson Sept. 5, 2018, 11:28 p.m.
Nothing ever speculated here, move along...  Regtested for
cris-elf, observing the maintenance-provoking test-cases now
passing.

	PR target/86779
	* config/cris/cris.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Redefine
	to speculation_safe_value_not_needed.


brgds, H-P

Patch

Index: gcc/config/cris/cris.c
===================================================================
--- gcc/config/cris/cris.c	(revision 264070)
+++ gcc/config/cris/cris.c	(working copy)
@@ -248,6 +248,9 @@  int cris_cpu_version = CRIS_DEFAULT_CPU_
 #undef TARGET_ATOMIC_ALIGN_FOR_MODE
 #define TARGET_ATOMIC_ALIGN_FOR_MODE cris_atomic_align_for_mode
 
+#undef TARGET_HAVE_SPECULATION_SAFE_VALUE
+#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed
+
 #undef TARGET_STRUCT_VALUE_RTX
 #define TARGET_STRUCT_VALUE_RTX cris_struct_value_rtx
 #undef TARGET_SETUP_INCOMING_VARARGS