This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Internal error #122 after parse error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]