https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87386
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 45046 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45046&action=edit gcc9-pr87386.patch More complete patch. Though, in some cases it might be better to just use range of just the last identifier of an id-expression, and the suggestions look weird too. foo::bar ~~~~~^~~ baz instead of baz David?