From: Alexandre Oliva Date: Fri, 3 Jun 2011 01:42:31 +0000 (+0000) Subject: params.def (PARAM_MAX_VARTRACK_EXPR_DEPTH): Bump default to 10. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5b6cc25028a79e054909ade4090eb90e9272f5f;p=gcc.git params.def (PARAM_MAX_VARTRACK_EXPR_DEPTH): Bump default to 10. * params.def (PARAM_MAX_VARTRACK_EXPR_DEPTH): Bump default to 10. * var-tracking.c (reverse_op): Limite recurse depth to 5. From-SVN: r174596 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ad6842d79ed..9ad2d406b8a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-06-02 Alexandre Oliva + + * params.def (PARAM_MAX_VARTRACK_EXPR_DEPTH): Bump default to 10. + * var-tracking.c (reverse_op): Limite recurse depth to 5. + 2011-06-02 Alexandre Oliva PR debug/47590 diff --git a/gcc/params.def b/gcc/params.def index 2ed0acac36c..a3e9831badd 100644 --- a/gcc/params.def +++ b/gcc/params.def @@ -845,7 +845,7 @@ DEFPARAM (PARAM_MAX_VARTRACK_SIZE, DEFPARAM (PARAM_MAX_VARTRACK_EXPR_DEPTH, "max-vartrack-expr-depth", "Max. recursion depth for expanding var tracking expressions", - 10, 0, 0) + 20, 0, 0) /* Set minimum insn uid for non-debug insns. */ diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c index d9732a611d8..0ddc8d7619e 100644 --- a/gcc/var-tracking.c +++ b/gcc/var-tracking.c @@ -5290,7 +5290,7 @@ reverse_op (rtx val, const_rtx expr) arg = XEXP (src, 1); if (!CONST_INT_P (arg) && GET_CODE (arg) != SYMBOL_REF) { - arg = cselib_expand_value_rtx (arg, scratch_regs, EXPR_DEPTH); + arg = cselib_expand_value_rtx (arg, scratch_regs, 5); if (arg == NULL_RTX) return NULL_RTX; if (!CONST_INT_P (arg) && GET_CODE (arg) != SYMBOL_REF)