Hi,

r276985 broke avr because it removed PARAM_ALLOW_STORE_DATA_RACES from --params. The patch fixes that by using flag_store_data_races = 1 instead.

Ok to apply?

Johann

        * config/avr/avr.c (avr_option_override): Fix broken build
        introduced by r276985.
Index: config/avr/avr.c
===================================================================
--- config/avr/avr.c	(revision 277097)
+++ config/avr/avr.c	(working copy)
@@ -746,9 +746,7 @@ avr_option_override (void)
      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);
+  flag_store_data_races = 1;
 
   /* Unwind tables currently require a frame pointer for correctness,
      see toplev.c:process_options().  */

Reply via email to