https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109804
--- Comment #9 from Marek Polacek <mpolacek at gcc dot gnu.org> --- Right. Local unnamed enums are of the DEMANGLE_COMPONENT_UNNAMED_TYPE type, but those don't have their subtrees filed as per cplus_demangle_fill_component. So I think we can't do *newc.u.s_binary.left when the type is DEMANGLE_COMPONENT_UNNAMED_TYPE. Maybe they need a new case in new_delete_mismatch_p.