https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97644
--- Comment #7 from Iain Buclaw <ibuclaw at gdcproject dot org> --- Created attachment 49485 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49485&action=edit workaround pr97644 Current workaround I'm using locally for the time being is to call thunk_info::process_early_thunks if the particular branch where this ICE happens is hit.