This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug objc++/31126] New: Infinite loop on missing @end
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Mar 2007 23:23:28 -0000
- Subject: [Bug objc++/31126] New: Infinite loop on missing @end
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The compiler enters an infinite loop since GCC 4.1.0 on the following
invalid code snippet:
===============
@interface A
===============
bug.mm:1: error: expected unqualified-id at end of input
bug.mm:1: error: expected unqualified-id at end of input
bug.mm:1: error: expected unqualified-id at end of input
bug.mm:1: error: expected unqualified-id at end of input
bug.mm:1: error: expected unqualified-id at end of input
...
--
Summary: Infinite loop on missing @end
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: error-recovery, monitored
Severity: normal
Priority: P3
Component: objc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31126