https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102451
--- Comment #2 from Feng Xue <fxue at os dot amperecomputing.com> --- (In reply to Richard Biener from comment #1) > Confirmed. Mind fixing it by recording the basic-block index before > removing/replacing? OK.