diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2019-10-17 15:06:22 +0000 |
---|---|---|
committer | Georg-Johann Lay <gjl@gcc.gnu.org> | 2019-10-17 15:06:22 +0000 |
commit | 4c3784ae0fb0a3cc3a3a6c262e6dff0908a0d795 (patch) | |
tree | 5bc39326a1c73231feade718a58f7012bc7584ad /gcc/config/avr | |
parent | 25e22b199bee93f071e8f16e2f0c0684f7a6fe98 (diff) | |
download | gcc-4c3784ae0fb0a3cc3a3a6c262e6dff0908a0d795.zip gcc-4c3784ae0fb0a3cc3a3a6c262e6dff0908a0d795.tar.gz gcc-4c3784ae0fb0a3cc3a3a6c262e6dff0908a0d795.tar.bz2 |
Fix breakage introduced by r276985.
* config/avr/avr.c (avr_option_override): Remove set of
PARAM_ALLOW_STORE_DATA_RACES.
* common/config/avr/avr-common.c (avr_option_optimization_table)
[OPT_LEVELS_ALL]: Turn on -fallow-store-data-races.
From-SVN: r277115
Diffstat (limited to 'gcc/config/avr')
-rw-r--r-- | gcc/config/avr/avr.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 3ccff8e..c630a30 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -741,15 +741,6 @@ avr_option_override (void) if (avr_strict_X) flag_caller_saves = 0; - /* 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 - introduces additional code in LIM and increases reg pressure. */ - - maybe_set_param_value (PARAM_ALLOW_STORE_DATA_RACES, 1, - global_options.x_param_values, - global_options_set.x_param_values); - /* Unwind tables currently require a frame pointer for correctness, see toplev.c:process_options(). */ |