https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109804
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org --- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Marek Polacek from comment #9) > 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. ret->type = DEMANGLE_COMPONENT_UNNAMED_TYPE; ret->u.s_number.number = num; Yes and we just need to compare the number. Let me add that and test it.