public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/44515]  New: improve message for missing ";"
@ 2010-06-13 12:44 manu at gcc dot gnu dot org
  2010-06-13 17:26 ` [Bug c/44515] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: manu at gcc dot gnu dot org @ 2010-06-13 12:44 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 609 bytes --]

Testcase:
void bar(void);
void foo(void)
{
  bar()


}

gcc-4.6:

clang-3.c:7:1: error: expected ‘;’ before ‘}’ token

clang:

t.c:4:8: error: expected ';' after expression
    bar()
         ^
         ;


-- 
           Summary: improve message for missing ";"
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: manu at gcc dot gnu dot org


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


^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <bug-44515-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-01-17 23:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-13 12:44 [Bug c/44515] New: improve message for missing ";" manu at gcc dot gnu dot org
2010-06-13 17:26 ` [Bug c/44515] " pinskia at gcc dot gnu dot org
2010-06-13 17:33 ` manu at gcc dot gnu dot org
2010-06-13 18:25 ` joseph at codesourcery dot com
2010-06-13 19:33 ` manu at gcc dot gnu dot org
     [not found] <bug-44515-4@http.gcc.gnu.org/bugzilla/>
2011-01-18  0:11 ` nicola at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).