https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97644
--- Comment #8 from Jan Hubicka <hubicka at ucw dot cz> --- > 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. Why D frontend needs to expand the thunk early and does not rely on backend to handle it same way as C++ does? It would be most practical if both was finalizing same way. If there is good reason for not doing so and there is no PCH in D frontend we could just add argument to expand_thunk to avoid the game o putting things into a vector. Honza