avr-common.c (avr_option_optimization_table): Set -fsplit-wide-types-early.
authorGeorg-Johann Lay <avr@gjlay.de>
Thu, 9 Jan 2020 09:29:30 +0000 (09:29 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Thu, 9 Jan 2020 09:29:30 +0000 (09:29 +0000)
* common/config/avr/avr-common.c (avr_option_optimization_table)
[OPT_LEVELS_1_PLUS]: Set -fsplit-wide-types-early.

From-SVN: r280033

gcc/ChangeLog
gcc/common/config/avr/avr-common.c

index 2a5f4e62dbea4ba2a9d4b756fc72b1b04466dbe2..4a8e897a42172afe884c6b4fa2f7644bbd533421 100644 (file)
@@ -1,3 +1,8 @@
+2020-01-09  Georg-Johann Lay  <avr@gjlay.de>
+
+       * common/config/avr/avr-common.c (avr_option_optimization_table)
+       [OPT_LEVELS_1_PLUS]: Set -fsplit-wide-types-early.
+
 2020-01-09  Martin Liska  <mliska@suse.cz>
 
        * cgraphclones.c (symbol_table::materialize_all_clones):
index 676b87849275454a5b089d8f32f4fcfeb341f9d5..233468be421a50488a9388d73798a8fd58131987 100644 (file)
@@ -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