diff options
author | Richard Sandiford <r.sandiford@uk.ibm.com> | 2012-06-06 09:12:58 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2012-06-06 09:12:58 +0000 |
commit | c881de027cad019b0c8e556613bec7ac8d492fe0 (patch) | |
tree | ea916a73f9fec97c16c5cf2ff5b2caffd34df151 /gcc/haifa-sched.c | |
parent | 14ae3cbc62bc39d5a3ff9b3067977d4f99739ed6 (diff) | |
download | gcc-c881de027cad019b0c8e556613bec7ac8d492fe0.zip gcc-c881de027cad019b0c8e556613bec7ac8d492fe0.tar.gz gcc-c881de027cad019b0c8e556613bec7ac8d492fe0.tar.bz2 |
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
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r-- | gcc/haifa-sched.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |