aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/tree-ssa-alias.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 942c6fd..b56cc77 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2019-06-24 Richard Biener <rguenther@suse.de>
+
+ 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 <msebor@redhat.com>
* tree-pretty-print.h: Remove unnecessary punctuation characters
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c
index 3258315..d930739 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)