aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-04-17 09:22:57 +0200
committerRichard Biener <rguenther@suse.de>2023-04-17 11:02:29 +0200
commitf66ae49bba7d3b8c999498a0e166c0a2f99ec61a (patch)
tree5cd4d6543a1ad6aff72fb5aa6a27a76fdaab7d0d /gcc/rtl.h
parenta1f25e04b8d10bbe5dcaf98bb7e17cdaec9f169d (diff)
downloadgcc-f66ae49bba7d3b8c999498a0e166c0a2f99ec61a.zip
gcc-f66ae49bba7d3b8c999498a0e166c0a2f99ec61a.tar.gz
gcc-f66ae49bba7d3b8c999498a0e166c0a2f99ec61a.tar.bz2
tree-optimization/109524 - ICE with VRP edge removal
VRP queues edges to process late for updating global ranges for __builtin_unreachable. But this interferes with edge removal from substitute_and_fold. The following deals with this by looking up the edge with source/dest block indices which do not become stale. PR tree-optimization/109524 * tree-vrp.cc (remove_unreachable::m_list): Change to a vector of pairs of block indices. (remove_unreachable::maybe_register_block): Adjust. (remove_unreachable::remove_and_update_globals): Likewise. Deal with removed blocks. * g++.dg/pr109524.C: New testcase.
Diffstat (limited to 'gcc/rtl.h')
0 files changed, 0 insertions, 0 deletions