This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/1498: Internal compiler error in pop_binding, at cp/decl.c:1179
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/1498: Internal compiler error in pop_binding, at cp/decl.c:1179
- From: pfeifer at dbai dot tuwien dot ac dot at (Gerald Pfeifer)
- Date: Fri, 22 Dec 2000 15:41:28 +0100 (MET)
>Number: 1498
>Category: c++
>Synopsis: Internal compiler error in pop_binding, at cp/decl.c:1179
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Fri Dec 22 06:46:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Gerald Pfeifer
>Release: 2.97 20001222 (experimental)
>Organization:
>Environment:
System: SunOS nunki 5.8 Generic_108528-04 sun4u sparc SUNW,Ultra-60
Architecture: sun4
host: sparc-sun-solaris2.8
build: sparc-sun-solaris2.8
target: sparc-sun-solaris2.8
configured with: /sw/test/gcc/gcc/configure --prefix=/sw/test/gcc/SunOS --enable-languages=c,c++,objc,java
>Description:
When compiling the example below (w/o any options) g++ correctly
diagnoses the problem and then crashes:
x.cc:15: semicolon missing after declaration of `MG::STACK'
x.cc:15: parse error at end of input
x.cc:15: Internal compiler error in pop_binding, at cp/decl.c:1179
-------- cut --------
namespace MG {
class STACK
{
public:
class ELEMENT
{
public:
unsigned short value;
};
STACK() : data()
{ }
}
-------- cut --------
>How-To-Repeat:
g++ check.C
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: