https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66290
--- Comment #7 from Lewis Hyatt <lhyatt at gcc dot gnu.org> --- The wrong location is fixed for GCC 13. Shall I leave the PR open for now, since there was also the issue of getting a caret pointing to the name of macro, rather than just a diagnostic for the whole line? I can look into that too.