Internal error #122 after parse error

Falk Hueffner falk.hueffner@student.uni-tuebingen.de
Sat Feb 10 14:08:00 GMT 2001


Hi,

% c++ -v
Reading specs from /usr/local/lib/gcc-lib/alphapca56-unknown-linux-gnu/2.97/specs
Configured with: ../configure --enable-languages=c++
gcc version 2.97 20010126 (experimental)

% cat bug.cc 
int main() {
    do while (true)             // note missing semicolon
}

% c++ bug.cc 
bug.cc: In function `int main()':
bug.cc:3: parse error before `}' token
bug.cc:3: Internal error #122.
bug.cc:3: Internal compiler error in finish_function, at cp/decl.c:13999
Please submit a full bug report, with preprocessed source
if appropriate.  See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.

The C compiler doesn't show this, it just reports the parse error.

This is on an Alpha Linux system.

	Falk



More information about the Gcc-bugs mailing list