This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/32246] New: endless loop due to parsing error
- From: "frenzel at os dot inf dot tu-dresden dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2007 13:59:01 -0000
- Subject: [Bug c/32246] New: endless loop due to parsing error
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following code snippet lets gcc (3.4.6) spin in an endless loop and print
out the error message
error: `data_t::<anonymous struct>::<anonymous struct>' has no non-static data
member named `a'
again and again:
typedef struct
{
struct {
struct {
unsigned a1;
unsigned a2;
} a;
unsigned b;
};
unsigned foo;
} data_t;
data_t _data = { a:0 }};
--
Summary: endless loop due to parsing error
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: frenzel at os dot inf dot tu-dresden dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32246