https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85318
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic, easyhack Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-11 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. This should not be hard to add. The error message while compiling for C90 is emitted from check_for_loop_decls which should be easy to add a warning there when -Wc90-c99-compat is turned on.