aboutsummaryrefslogtreecommitdiff
path: root/gcc/params.def
diff options
context:
space:
mode:
authorRichard Sandiford <r.sandiford@uk.ibm.com>2012-06-06 09:12:58 +0000
committerRichard Sandiford <r.sandiford@uk.ibm.com>2012-06-06 09:12:58 +0000
commit91a3b81de4c9b9cff025224c94e4f29091ba1f6a (patch)
treeea916a73f9fec97c16c5cf2ff5b2caffd34df151 /gcc/params.def
parentc9daea26fd7dd342572b0cc50696429d88eb30dc (diff)
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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@188258 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.def')
-rw-r--r--gcc/params.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def
index 27db78275e1..ad2cf4375bf 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -979,6 +979,12 @@ DEFPARAM (PARAM_MAX_TRACKED_STRLENS,
"track string lengths",
1000, 0, 0)
+/* Keep this in sync with the sched_pressure_algorithm enum. */
+DEFPARAM (PARAM_SCHED_PRESSURE_ALGORITHM,
+ "sched-pressure-algorithm",
+ "Which -fsched-pressure algorithm to apply",
+ 1, 1, 2)
+
/*
Local variables:
mode:c