https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100450
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Last reconfirmed| |2021-05-06 Ever confirmed|0 |1 --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I guess would should in libcpp/lex.c (cpp_avoid_paste) handle case CPP_PRAGMA: like case CPP_NAME: cpp_avoid_paste is called only from token_streamer::stream and from Fortran scan_translation_unit, so I think we should be ok. What we print for CPP_PRAGMA is always #pragma name or #pragma space name where name is some identifier.