diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3b4e9c28dda..4b818f41b89 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-05-15 Kyrylo Tkachov + + * config/arm/arm.c (arm_option_override): Use the SCHED_PRESSURE_MODEL + enum name for PARAM_SCHED_PRESSURE_ALGORITHM. + 2014-05-15 Jakub Jelinek PR tree-optimization/61158 diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index d968cc02e58..6f4ba74c8ec 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -50,6 +50,7 @@ #include "except.h" #include "tm_p.h" #include "target.h" +#include "sched-int.h" #include "target-def.h" #include "debug.h" #include "langhooks.h" @@ -2944,7 +2945,7 @@ arm_option_override (void) prefer_neon_for_64bits = true; /* Use the alternative scheduling-pressure algorithm by default. */ - maybe_set_param_value (PARAM_SCHED_PRESSURE_ALGORITHM, 2, + maybe_set_param_value (PARAM_SCHED_PRESSURE_ALGORITHM, SCHED_PRESSURE_MODEL, global_options.x_param_values, global_options_set.x_param_values);