aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2024-10-01 09:49:49 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2024-10-01 09:49:49 +0200
commitbdbd0607d5933cdecbf7e009a42f1d9486dddf44 (patch)
tree52ece0071c558397717a8882e11e963267cac49d /libcpp
parent0939c8ca2fec3f4d8b6ad35da653d75412870357 (diff)
downloadgcc-bdbd0607d5933cdecbf7e009a42f1d9486dddf44.zip
gcc-bdbd0607d5933cdecbf7e009a42f1d9486dddf44.tar.gz
gcc-bdbd0607d5933cdecbf7e009a42f1d9486dddf44.tar.bz2
range-cache: Fix ICE on SSA_NAME with def_stmt not yet in the IL [PR116898]
Some passes like the bitint lowering queue some statements on edges and only commit them at the end of the pass. If they use ranger at the same time, the ranger might see such SSA_NAMEs and ICE on those. The following patch instead just punts on them. 2024-10-01 Jakub Jelinek <jakub@redhat.com> PR middle-end/116898 * gimple-range-cache.cc (ranger_cache::block_range): If a SSA_NAME with NULL def_bb isn't SSA_NAME_IS_DEFAULT_DEF, return false instead of failing assertion. Formatting fix. * gcc.dg/bitint-110.c: New test.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions