https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44515
--- Comment #10 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to David Malcolm from comment #9) > Trunk now emits: > > t.c: In function ‘foo’: > t.c:4:8: error: expected ‘;’ before ‘}’ token > bar() > ^ > ; > t.c:7:1: > } > ~ > > (as of r253690, I believe). > > This improves the location for the diagnostic (and adds a fix-it hint), but > it doesn't address the wording of the message, hence I'm keeping this PR > open. I think the improvement of the location and the addition of the fix-it is enough, personally, but maybe others have different opinions...