[Bug c++/107897] [13 Regression] ICE in verify_curr_properties, at passes.cc:2201

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 29 07:43:47 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107897

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
(gdb) p fn->curr_properties
$4 = 92431

that looks like garbage.  We likely cut off processing one of the functions
because of the error (and failed to initialize ->curr_properties when
allocating struct function).  In particular we gate off build_ssa_passes
but not consistently all other small IPA passes and target_clone is the
only one requiring any SSA/CFG properties.

I'm testing a patch for the ICE-after-error, the error remains.


More information about the Gcc-bugs mailing list