https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101533
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- 25987 /* Prevent broken recursion; we can't hand off to the same type. */ 25988 gcc_assert (DECL_ORIGINAL_TYPE (name) != type); I guess the issue is that we have qualified_type == type but we don't have a DIE for 'type' yet and that confuses the machinery.