From c881de027cad019b0c8e556613bec7ac8d492fe0 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Wed, 6 Jun 2012 09:12:58 +0000 Subject: invoke.texi (sched-pressure-algorithm): Document new --param. gcc/ * doc/invoke.texi (sched-pressure-algorithm): Document new --param. * common.opt (fsched-pressure-algorithm=): Remove. * flag-types.h (sched_pressure_algorithm): Move to... * sched-int.h (sched_pressure_algorithm): ...here. * params.def (sched-pressure-algorithm): New param. * haifa-sched.c (sched_init): Use it to initialize sched_pressure. * common/config/s390/s390-common.c (s390_option_optimization_table): Remove OPT_fsched_pressure_algorithm_ entry. * config/s390/s390.c (s390_option_override): Set a default value for PARAM_SCHED_PRESSURE_ALGORITHM. From-SVN: r188258 --- gcc/haifa-sched.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/haifa-sched.c') diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index b959bc5..9ec005a 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -6229,7 +6229,8 @@ sched_init (void) if (flag_sched_pressure && !reload_completed && common_sched_info->sched_pass_id == SCHED_RGN_PASS) - sched_pressure = flag_sched_pressure_algorithm; + sched_pressure = ((enum sched_pressure_algorithm) + PARAM_VALUE (PARAM_SCHED_PRESSURE_ALGORITHM)); else sched_pressure = SCHED_PRESSURE_NONE; -- cgit v1.1