[committed] Fix target/86784

Message ID 53c39f38-7c55-45b9-ba3c-48e1e96eef7e@redhat.com
State New
Headers show
Series
  • [committed] Fix target/86784
Related show

Commit Message

Jeff Law Aug. 2, 2018, 5:27 p.m.
I'm not aware of any H8 part that does speculation that would cause
problems here.

Committed to the trunk.

Jeff
commit a56e14aaf64f3726a3e2114dc76db74925a4b078
Author: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Aug 2 17:24:59 2018 +0000

            PR target/86784
            * config/h8300/h8300.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
            Define to speculation_safe_value_not_needed.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263270 138bc75d-0d04-0410-961f-82ee72b054a4

Patch

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ef198bdc209..06db972e5d6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@ 
+2018-08-02  Jeff Law  <law@redhat.com>
+
+	PR target/86784
+	* config/h8300/h8300.c (TARGET_HAVE_SPECULATION_SAFE_VALUE):
+	Define to speculation_safe_value_not_needed.
+
 2018-08-02  Tom de Vries  <tdevries@suse.de>
 
 	PR target/86660
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index 01c765dbc09..596f2fd2cda 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -6148,4 +6148,7 @@  h8300_push_rounding (poly_int64 bytes)
 #undef TARGET_MODE_DEPENDENT_ADDRESS_P
 #define TARGET_MODE_DEPENDENT_ADDRESS_P h8300_mode_dependent_address_p
 
+#undef TARGET_HAVE_SPECULATION_SAFE_VALUE
+#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed
+
 struct gcc_target targetm = TARGET_INITIALIZER;