From bab9de71b45df56e3ad90aa817d7e23ea79d726d Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 24 Jun 2019 17:17:26 +0000 Subject: [PATCH] re PR tree-optimization/90930 (Excessive memory consumption) 2019-06-24 Richard Biener PR tree-optimization/90930 PR tree-optimization/90316 * tree-ssa-alias.c (walk_non_aliased_vuses): Add missing decrement of limit. From-SVN: r272621 --- gcc/ChangeLog | 7 +++++++ gcc/tree-ssa-alias.c | 1 + 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 942c6fd7539..b56cc77396c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2019-06-24 Richard Biener + + PR tree-optimization/90930 + PR tree-optimization/90316 + * tree-ssa-alias.c (walk_non_aliased_vuses): Add missing + decrement of limit. + 2019-06-24 Martin Sebor * tree-pretty-print.h: Remove unnecessary punctuation characters diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index 32583156350..d9307390e4c 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -3135,6 +3135,7 @@ walk_non_aliased_vuses (ao_ref *ref, tree vuse, res = NULL; break; } + --limit; if (stmt_may_clobber_ref_p_1 (def_stmt, ref)) { if (!translate) -- 2.30.2