From 3beb455a05d242e4fb077f35e76f9bb4675f68e4 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 26 Jun 2018 14:22:59 -0600 Subject: [PATCH] v850-common.c (TARGET_DEFAULT_TARGET_FLAGS): Turn on -mbig-switch by default. * common/config/v850/v850-common.c (TARGET_DEFAULT_TARGET_FLAGS): Turn on -mbig-switch by default. From-SVN: r262166 --- gcc/ChangeLog | 3 +++ gcc/common/config/v850/v850-common.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 48b57c1c640..38e4ae29fdf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -180,6 +180,9 @@ 2018-06-25 Jeff Law + * common/config/v850/v850-common.c (TARGET_DEFAULT_TARGET_FLAGS): Turn + on -mbig-switch by default. + * config/v850/predicates.md (const_float_1_operand): Fix match_code test. (const_float_0_operand): Remove unused predicate. diff --git a/gcc/common/config/v850/v850-common.c b/gcc/common/config/v850/v850-common.c index 6a93ff08d84..803bc169018 100644 --- a/gcc/common/config/v850/v850-common.c +++ b/gcc/common/config/v850/v850-common.c @@ -122,7 +122,8 @@ static const struct default_options v850_option_optimization_table[] = }; #undef TARGET_DEFAULT_TARGET_FLAGS -#define TARGET_DEFAULT_TARGET_FLAGS (MASK_DEFAULT | MASK_APP_REGS) +#define TARGET_DEFAULT_TARGET_FLAGS \ + (MASK_DEFAULT | MASK_APP_REGS | MASK_BIG_SWITCH) #undef TARGET_HANDLE_OPTION #define TARGET_HANDLE_OPTION v850_handle_option #undef TARGET_OPTION_OPTIMIZATION_TABLE -- 2.30.2