https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114423
Lewis Hyatt <lhyatt at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|patch | --- Comment #5 from Lewis Hyatt <lhyatt at gcc dot gnu.org> --- The incorrect caret is fixed for GCC 15. Now it points to the _Pragma token like other cases. I am leaving the PR open for now, in case we want to circle back and improve diagnostics for all _Pragmas sometime.