https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98599
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- > > The analyzer updates the gimple stmt uids; if I disable this updating the > crash doesn't happen. Hm, why do you update them in LTO WPA phase? Note that they are used by cgraph_edges to point to a proper GIMPLE statement.