https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70630
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-04-11 CC| |ebotcazou at gcc dot gnu.org, | |jakub at gcc dot gnu.org Target Milestone|--- |6.0 Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That is because the warning is new (well, old-new, it existed for C a decade ago or so). At least from the code indentation it seems the right fix is to add braces that will match the formatting, but it needs to be tested. The bug has been introduced in r174897 it seems.