public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug objc/23709] New: [4.1 Regression] error recovery is not smart enough
@ 2005-09-03  3:51 pinskia at gcc dot gnu dot org
  2005-09-03  3:55 ` [Bug objc/23709] " pinskia at gcc dot gnu dot org
  2005-09-03 18:11 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-03  3:51 UTC (permalink / raw)
  To: gcc-bugs

Take the following example:
@interface A
+(void)C:b {}
@end 

@implementation A
+(void)C:b
{
  *b;
}
@end 

--
With 4.1, we get currently get:
t.m:2: error: expected ';' before '{' token
But that means we don't get the error message about dereferencing pointer to incomplete type.
With 3.3, we got:
t.m:2: error: parse error before '{' token
t.m: In function `+[A C:]':
t.m:8: error: dereferencing pointer to incomplete type

-- 
           Summary: [4.1 Regression] error recovery is not smart enough
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: minor
          Priority: P2
         Component: objc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2005-10-30 23:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-03  3:51 [Bug objc/23709] New: [4.1 Regression] error recovery is not smart enough pinskia at gcc dot gnu dot org
2005-09-03  3:55 ` [Bug objc/23709] " pinskia at gcc dot gnu dot org
2005-09-03 18:11 ` pinskia at gcc dot gnu dot org
     [not found] <bug-23709-6528@http.gcc.gnu.org/bugzilla/>
2005-10-16  1:37 ` pinskia at gcc dot gnu dot org
2005-10-16  1:37 ` pinskia at gcc dot gnu dot org
2005-10-30 23:21 ` pinskia at gcc dot gnu dot 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).