https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94109
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |tkoenig at gcc dot gnu.org --- Comment #14 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Created attachment 48697 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48697&action=edit Patch which ought to work This one checks for the specific combination of expression, component and namespace. I think this has a good chance of working (at least it fixes the test case without regressing on the earlier one).