https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2024-02-05 Status|UNCONFIRMED |WAITING Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I can't reproduce this at all. I tried: ``` void foo(); #define DEBUG_ONLY(code) code; void f() { DEBUG_ONLY(foo()); } ``` The only time I can reproduce an error is: ``` ; ``` And with `-std=c++98 -W -Wall -pedantic-errors`. Can you provide a full example where you are getting into an issue?