https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63744
Mikael Morin <mikael at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikael at gcc dot gnu.org --- Comment #7 from Mikael Morin <mikael at gcc dot gnu.org> --- Created attachment 34658 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34658&action=edit check the symtree (local) name instead of the original name Here is a patch to accept it. I think it makes sense to accept it; it's not ambiguous. The current error message is at least confusing.