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 942c6fd7539d48f96bed6ca268575aef1cb8ed49..b56cc77396ce98d1525b84f2aad80580693aa955 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 32583156350b88561b3f489dc6b949d0e5de339d..d9307390e4c98a17fd542789b44c9d9ee0106e5a 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)