summaryrefslogtreecommitdiff
path: root/gcc/params.def
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2011-05-31 16:25:50 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2011-05-31 16:25:50 +0000
commitf0686e7897527411f7d0d68b723789f294ecf73a (patch)
tree10f6fe370da39bbfb62e0e10867451db1c5a2339 /gcc/params.def
parentf3308413143e977215c386e3a51711380749f04f (diff)
downloadgcc-f0686e7897527411f7d0d68b723789f294ecf73a.tar.gz
params.def (PARAM_MAX_VARTRACK_EXPR_DEPTH): New.
* 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. From-SVN: r174494
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,