aboutsummaryrefslogtreecommitdiff
path: root/gcc/params.def
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2016-02-01 15:03:57 -0700
committerJeff Law <law@gcc.gnu.org>2016-02-01 15:03:57 -0700
commitda9a8da809b84f398ad3357ca36d2c4402099eb9 (patch)
treeb5d9304a50509feb3392105ef9f8995096ece055 /gcc/params.def
parent800cb72aae9947e6496c3705986c421978b92e8e (diff)
downloadgcc-da9a8da809b84f398ad3357ca36d2c4402099eb9.zip
gcc-da9a8da809b84f398ad3357ca36d2c4402099eb9.tar.gz
gcc-da9a8da809b84f398ad3357ca36d2c4402099eb9.tar.bz2
re PR testsuite/68580 (FAIL: c-c++-common/tsan/pr65400-1.c -O0 execution test)
PR tree-optimization/68580 * params.def (FSM_MAXIMUM_PHI_ARGUMENTS): New param. * tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths): Do not try to walk through large PHI nodes. From-SVN: r233053
Diffstat (limited to 'gcc/params.def')
-rw-r--r--gcc/params.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def
index 0722ad7..c0494fa 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -1150,6 +1150,11 @@ DEFPARAM (PARAM_FSM_SCALE_PATH_STMTS,
"Scale factor to apply to the number of statements in a threading path when comparing to the number of (scaled) blocks.",
2, 1, 10)
+DEFPARAM (PARAM_FSM_MAXIMUM_PHI_ARGUMENTS,
+ "fsm-maximum-phi-arguments",
+ "Maximum number of arguments a PHI may have before the FSM threader will not try to thread through its block.",
+ 100, 1, 999999)
+
DEFPARAM (PARAM_FSM_SCALE_PATH_BLOCKS,
"fsm-scale-path-blocks",
"Scale factor to apply to the number of blocks in a threading path when comparing to the number of (scaled) statements.",