summaryrefslogtreecommitdiff
path: root/gcc/params.def
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-31 16:25:50 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-31 16:25:50 +0000
commitb5c80997d8dce37af1770f047e60b9481dbcb2f5 (patch)
tree10f6fe370da39bbfb62e0e10867451db1c5a2339 /gcc/params.def
parentc42ab3cf064030cb3e30d6f91093123398b553f8 (diff)
downloadgcc-b5c80997d8dce37af1770f047e60b9481dbcb2f5.tar.gz
* params.def (PARAM_MAX_VARTRACK_EXPR_DEPTH): New.
* doc/invoke.texi: Document max-vartrack-expr-depth. * var-tracking.c (EXPR_DEPTH): New. (reverse_op, vt_expand_loc, vt_expand_loc_dummy): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174494 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/params.def')
-rw-r--r--gcc/params.def8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/params.def b/gcc/params.def
index fa89a5221ec..2ed0acac36c 100644
--- a/gcc/params.def
+++ b/gcc/params.def
@@ -839,6 +839,14 @@ DEFPARAM (PARAM_MAX_VARTRACK_SIZE,
"Max. size of var tracking hash tables",
50000000, 0, 0)
+/* Set maximum recursion depth for var tracking expression expansion
+ and resolution. */
+
+DEFPARAM (PARAM_MAX_VARTRACK_EXPR_DEPTH,
+ "max-vartrack-expr-depth",
+ "Max. recursion depth for expanding var tracking expressions",
+ 10, 0, 0)
+
/* Set minimum insn uid for non-debug insns. */
DEFPARAM (PARAM_MIN_NONDEBUG_INSN_UID,