]> git.ipfire.org Git - thirdparty/gcc.git/commit
Grow non_null_ref bitmap when num_ssa_names increases.
authorAldy Hernandez <aldyh@redhat.com>
Fri, 8 Oct 2021 13:42:42 +0000 (15:42 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Fri, 8 Oct 2021 14:36:00 +0000 (16:36 +0200)
commit946486ab4f84a5380e1a18e37e4fb9614f5d7992
tree0a0de84d1d3afb1d1ecad7daf066e25196e4659e
parent4d9070315aac4065a6ece3a6cffd83c386f01dd9
Grow non_null_ref bitmap when num_ssa_names increases.

The strlen pass changes the IL as it works with the ranger.  This
causes the non_null_ref code to sometimes get asked questions about new
SSA names.

Tested on x86-64 Linux.

gcc/ChangeLog:

* gimple-range-cache.cc (non_null_ref::non_null_deref_p): Grow
bitmap if needed.
gcc/gimple-range-cache.cc