This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9212: Internal compiler error in grokdeclarator, at cp/decl.c:11052 [gcc 3.2]
- From: nathan at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jjamison at cs dot berkeley dot edu, nobody at gcc dot gnu dot org
- Date: 7 Jan 2003 11:15:09 -0000
- Subject: Re: c++/9212: Internal compiler error in grokdeclarator, at cp/decl.c:11052 [gcc 3.2]
- Reply-to: nathan at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, jjamison at cs dot berkeley dot edu, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: Internal compiler error in grokdeclarator, at cp/decl.c:11052 [gcc 3.2]
State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Tue Jan 7 03:15:08 2003
State-Changed-Why:
this is a bug.
C c(A(A::e), B(B::f), A(A::e));
is being parsed as a function called c taking three
parameters, each of which has a parenthesized (& erroneous)
name. It is really a variable called c with an
'(expression-list)' initializer.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9212