From: Eric Botcazou Date: Thu, 13 Sep 2018 17:27:00 +0000 (+0000) Subject: re PR target/86812 (visium port needs updating for CVE-2017-5753) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f54d5fee46b8f1a0a78a8fbeb03e3ddfc8c9346;p=gcc.git re PR target/86812 (visium port needs updating for CVE-2017-5753) PR target/86812 * config/visium/visium.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define. From-SVN: r264281 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index da616e44817..a7585bbe53d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-09-13 Eric Botcazou + + PR target/86812 + * config/visium/visium.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): Define. + 2018-09-13 Richard Biener PR tree-optimization/87263 diff --git a/gcc/config/visium/visium.c b/gcc/config/visium/visium.c index 2b402d11f76..d8ea128b75c 100644 --- a/gcc/config/visium/visium.c +++ b/gcc/config/visium/visium.c @@ -280,17 +280,19 @@ static HOST_WIDE_INT visium_constant_alignment (const_tree, HOST_WIDE_INT); #undef TARGET_LEGITIMATE_CONSTANT_P #define TARGET_LEGITIMATE_CONSTANT_P visium_legitimate_constant_p -#undef TARGET_LRA_P +#undef TARGET_LRA_P #define TARGET_LRA_P hook_bool_void_false #undef TARGET_LEGITIMATE_ADDRESS_P #define TARGET_LEGITIMATE_ADDRESS_P visium_legitimate_address_p -#undef TARGET_PRINT_OPERAND_PUNCT_VALID_P +#undef TARGET_PRINT_OPERAND_PUNCT_VALID_P #define TARGET_PRINT_OPERAND_PUNCT_VALID_P visium_print_operand_punct_valid_p -#undef TARGET_PRINT_OPERAND + +#undef TARGET_PRINT_OPERAND #define TARGET_PRINT_OPERAND visium_print_operand -#undef TARGET_PRINT_OPERAND_ADDRESS + +#undef TARGET_PRINT_OPERAND_ADDRESS #define TARGET_PRINT_OPERAND_ADDRESS visium_print_operand_address #undef TARGET_ATTRIBUTE_TABLE @@ -347,27 +349,30 @@ static HOST_WIDE_INT visium_constant_alignment (const_tree, HOST_WIDE_INT); #undef TARGET_TRAMPOLINE_INIT #define TARGET_TRAMPOLINE_INIT visium_trampoline_init -#undef TARGET_MD_ASM_ADJUST +#undef TARGET_MD_ASM_ADJUST #define TARGET_MD_ASM_ADJUST visium_md_asm_adjust -#undef TARGET_FLAGS_REGNUM +#undef TARGET_FLAGS_REGNUM #define TARGET_FLAGS_REGNUM FLAGS_REGNUM -#undef TARGET_HARD_REGNO_NREGS +#undef TARGET_HARD_REGNO_NREGS #define TARGET_HARD_REGNO_NREGS visium_hard_regno_nregs -#undef TARGET_HARD_REGNO_MODE_OK +#undef TARGET_HARD_REGNO_MODE_OK #define TARGET_HARD_REGNO_MODE_OK visium_hard_regno_mode_ok -#undef TARGET_MODES_TIEABLE_P +#undef TARGET_MODES_TIEABLE_P #define TARGET_MODES_TIEABLE_P visium_modes_tieable_p -#undef TARGET_CAN_CHANGE_MODE_CLASS +#undef TARGET_CAN_CHANGE_MODE_CLASS #define TARGET_CAN_CHANGE_MODE_CLASS visium_can_change_mode_class -#undef TARGET_CONSTANT_ALIGNMENT +#undef TARGET_CONSTANT_ALIGNMENT #define TARGET_CONSTANT_ALIGNMENT visium_constant_alignment +#undef TARGET_HAVE_SPECULATION_SAFE_VALUE +#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed + struct gcc_target targetm = TARGET_INITIALIZER; namespace {