https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100545
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|debug |c --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- if (DECL_ORIGINAL_TYPE (decl)) { type = DECL_ORIGINAL_TYPE (decl); if (type == error_mark_node) return; gcc_assert (type != TREE_TYPE (decl)); I suspect an error in attribute processing / type setup.