[Bug c/39012] GCC accepts badly formatted while statement

2009-01-28 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-01-28 22:17 --- >while ( !b ); Is vaild code but should be warned about. In fact with 4.3 and above we do get a warning with -W -Wall: t.cc: In function 'void g()': t.cc:13: warning: suggest a space before ';' or explicit braces ar

[Bug c/39012] GCC accepts badly formatted while statement

2009-01-28 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-01-28 21:16 --- That is perfectly valid code. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added