From 09dd801918ad5e060114dd22fe9ff75e7122badc Mon Sep 17 00:00:00 2001 From: yroux Date: Wed, 16 Jul 2014 16:18:41 +0000 Subject: [PATCH] 2014-07-16 Yvan Roux Backport from trunk r210471. 2014-05-15 Kyrylo Tkachov * config/arm/arm.c (arm_option_override): Use the SCHED_PRESSURE_MODEL enum name for PARAM_SCHED_PRESSURE_ALGORITHM. git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@212679 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog.linaro | 8 ++++++++ gcc/config/arm/arm.c | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog.linaro b/gcc/ChangeLog.linaro index 8bc24d6..079f47a 100644 --- a/gcc/ChangeLog.linaro +++ b/gcc/ChangeLog.linaro @@ -1,5 +1,13 @@ 2014-07-16 Yvan Roux + Backport from trunk r210471. + 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-07-16 Yvan Roux + Backport from trunk r210369. 2014-05-13 Kyrylo Tkachov diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index 0cec8fe..236d2db 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" @@ -2953,7 +2954,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); -- 2.7.4