This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Fix target/86784


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

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;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]