This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Committed: fix target/86779, speculative error for cris-*
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 6 Sep 2018 01:28:14 +0200
- Subject: Committed: fix target/86779, speculative error for cris-*
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.
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
brgds, H-P