This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/1751: parse error results in Internal error #19990916.
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/1751: parse error results in Internal error #19990916.
- From: schmid at snake dot iap dot physik dot tu-darmstadt dot de
- Date: Wed, 24 Jan 2001 01:25:20 +0100
>Number: 1751
>Category: c++
>Synopsis: parse error results in Internal error #19990916.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Tue Jan 23 16:26:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Peter Schmid
>Release: 2.97 20010123 (experimental)
>Organization:
TU Darmstadt
>Environment:
System: Linux kiste 2.4.0 #25 Tue Jan 16 01:22:25 CET 2001 i686 unknown
Architecture: i686
glibc 2.1.3
GNU assembler version 2.10.91 (i686-pc-linux-gnu) using BFD version 2.10.1.0.4
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc/configure --enable-nls --enable-shared
>Description:
The following illegal source code, a closing brace is missing,
generates an internal compiler error in poplevel, at cp/decl.c:1276.
>How-To-Repeat:
source file t.C
class A
{
A& operator++ () {
};
Compiling the source file t.C
g++ -o t t.C -W -Wall -save-temps
t.C:5: parse error at end of input
t.C:5: Internal error #19990916.
t.C:5: Internal compiler error in poplevel, at cp/decl.c:1276
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
Preprocessor source file: t.ii
# 1 "t.C"
class A
{
A& operator++ () {
};
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: