From ddc8786f8ebe5c97331cbbeef15c99e4878e669e Mon Sep 17 00:00:00 2001 From: Georg-Johann Lay Date: Thu, 9 Jan 2020 09:29:30 +0000 Subject: [PATCH] avr-common.c (avr_option_optimization_table): Set -fsplit-wide-types-early. * common/config/avr/avr-common.c (avr_option_optimization_table) [OPT_LEVELS_1_PLUS]: Set -fsplit-wide-types-early. From-SVN: r280033 --- gcc/ChangeLog | 5 +++++ gcc/common/config/avr/avr-common.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2a5f4e62dbe..4a8e897a421 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-01-09 Georg-Johann Lay + + * common/config/avr/avr-common.c (avr_option_optimization_table) + [OPT_LEVELS_1_PLUS]: Set -fsplit-wide-types-early. + 2020-01-09 Martin Liska * cgraphclones.c (symbol_table::materialize_all_clones): diff --git a/gcc/common/config/avr/avr-common.c b/gcc/common/config/avr/avr-common.c index 676b8784927..233468be421 100644 --- a/gcc/common/config/avr/avr-common.c +++ b/gcc/common/config/avr/avr-common.c @@ -40,6 +40,8 @@ static const struct default_options avr_option_optimization_table[] = { OPT_LEVELS_ALL, OPT_fcaller_saves, NULL, 0 }, { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_mgas_isr_prologues, NULL, 1 }, { OPT_LEVELS_1_PLUS, OPT_mmain_is_OS_task, NULL, 1 }, + // Stick to the "old" placement of the subreg lowering pass. + { OPT_LEVELS_1_PLUS, OPT_fsplit_wide_types_early, NULL, 1 }, /* Allow optimizer to introduce store data races. This used to be the default -- it was changed because bigger targets did not see any performance decrease. For the AVR though, disallowing data races -- 2.30.2