From: Kyrylo Tkachov Date: Thu, 15 May 2014 11:23:02 +0000 (+0000) Subject: [ARM][cleanup] Use enum name instead of integer value for PARAM_SCHED_PRESSURE_ALGORITHM. X-Git-Tag: releases/gcc-5.1.0~7563 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=927450d08ca506a795671ee2690ecae30eb07de7;p=thirdparty%2Fgcc.git [ARM][cleanup] Use enum name instead of integer value for PARAM_SCHED_PRESSURE_ALGORITHM. * config/arm/arm.c (arm_option_override): Use the SCHED_PRESSURE_MODEL enum name for PARAM_SCHED_PRESSURE_ALGORITHM. From-SVN: r210471 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3b4e9c28dda4..4b818f41b890 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 d968cc02e589..6f4ba74c8ece 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);