https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66234
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Keywords| |diagnostic Last reconfirmed| |2021-08-11 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. Reduced testcase: #define BUILDTAG (__DATE__ " " __TIME__) #define STR_HELPER(x) #x #define STR(x) STR_HELPER(x) #pragma message "Setting builddate to: " STR(BUILDTAG) ----- CUT ---- Note the C front-end does not do the notes.