]> git.ipfire.org Git - thirdparty/gcc.git/commit
ranger: Grow BBs in relation oracle as needed [PR113735]
authorAldy Hernandez <aldyh@redhat.com>
Tue, 6 Feb 2024 09:22:30 +0000 (10:22 +0100)
committerAldy Hernandez <aldyh@redhat.com>
Thu, 8 Feb 2024 13:21:17 +0000 (14:21 +0100)
commitd2d5ef6e22082d945c4d255b44194155680a93bd
tree46d645caf3fa647d4ff837b3e0ab7fc3bce7a324
parentce915cab745d1ef19a69911d6b89e4fb1bee2644
ranger: Grow BBs in relation oracle as needed [PR113735]

The relation oracle grows the internal vector of SSAs as needed, but
due to an oversight was not growing the basic block vector.  This
fixes the oversight.

PR tree-optimization/113735

gcc/testsuite/ChangeLog:

* gcc.dg/tree-ssa/pr113735.c: New test.

gcc/ChangeLog:

* value-relation.cc (equiv_oracle::add_equiv_to_block): Call
limit_check().
gcc/testsuite/gcc.dg/tree-ssa/pr113735.c [new file with mode: 0644]
gcc/value-relation.cc