http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55578
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2012-12-09 Ever Confirmed|0 |1 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-12-09 00:31:40 UTC --- Confirmed. It only happens with the C++ front-end though. The exact same code does not warn with the C front-end. I think this might be the pre-ahead of time tokenizer that happens for the C++ front-end but does not happen for C.