https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44515

--- Comment #9 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
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.

Reply via email to