re PR tree-optimization/90930 (Excessive memory consumption)
authorRichard Biener <rguenther@suse.de>
Mon, 24 Jun 2019 17:17:26 +0000 (17:17 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 24 Jun 2019 17:17:26 +0000 (17:17 +0000)
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.

From-SVN: r272621

gcc/ChangeLog
gcc/tree-ssa-alias.c

index 942c6fd..b56cc77 100644 (file)
@@ -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
index 3258315..d930739 100644 (file)
@@ -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)