in reply to "if" and compound statement

It's

EXPR if EXPR;

and not

STATEMENT if EXPR;

You can use do (do { ... }if EXPR;), but not a bare loop ({ ... } if EXPR;).