This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9777: ICE in pop_binding: Name clash between a class and a method triggers ice.
- From: bangerth at dealii dot org
- To: bilkes at mail dot nih dot gov, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 20 Feb 2003 17:25:48 -0000
- Subject: Re: c++/9777: ICE in pop_binding: Name clash between a class and a method triggers ice.
- Reply-to: bangerth at dealii dot org, bilkes at mail dot nih dot gov, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Old Synopsis: Name clash between a class and a method triggers ice.
New Synopsis: ICE in pop_binding: Name clash between a class and a method triggers ice.
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Thu Feb 20 17:25:48 2003
State-Changed-Why:
Confirmed. Smaller snippet:
-----------------------
struct B {
struct foo {};
struct bar {
void foo();
};
};
struct D : B {
struct bar : B::bar {};
struct foo : B::foo {};
};
-------------------------
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/c++ -c x.cc
x.cc:11: internal compiler error: in pop_binding, at cp/decl.c:1137
Please submit a full bug report,
Problem exists in all versions from 2.95 through to present
3.4.
The ICE happens in pop_binding, for which I believe there
are several other open reports already: PR 157 and PR 5402.
The latter seems somehow related, but is not exactly the same...
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9777