From efbf3c347591b1173b4ed5a83b71d41dec8ca732 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Thu, 2 Aug 2018 11:24:59 -0600 Subject: [PATCH] re PR target/86784 (H8 port needs updating for CVE-2017-5753) PR target/86784 * config/h8300/h8300.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define to speculation_safe_value_not_needed. From-SVN: r263270 --- gcc/ChangeLog | 6 ++++++ gcc/config/h8300/h8300.c | 3 +++ 2 files changed, 9 insertions(+) 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 + + 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 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; -- 2.30.2