internal compiler error

Vig Attila
Wed Apr 18 09:18:00 GMT 2001


I think I've found a bug in the gcc compiler. The attached
source file is the shortest version, which reproduces the error.
It doesn't compiling either, gcc stops with internal compiler error
The system is an official Debian 2.2.r0. The CPU is an AMD Athlon.

$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.2/specs
gcc version 2.95.2 20000220 (Debian GNU/Linux)

I did this:
$ gcc -o error error.cpp

error.cpp:6: parse error before {'
error.cpp:10: ANSI C++ forbids declaration Var2' with no type
error.cpp:10: initialization to         nt' from Critical *' lacks a
error.cpp:11: parse error before }'
error.cpp:13: conflicting types for Class Critical * var2'
error.cpp:10: previous declaration as   nt var2'
error.cpp:14: parse error before }'
error.cpp:14: Internal compiler error in Make_decl_rtl', at varasm.c:738
Please submit a full bug report.
See <URL: > for instructions.
make: *** [error.o] Error 1

Please inform me wether this bug is new for you, I'd like to be
very proud to myself. :))

If you have any other questions, just ask them.


More information about the Gcc-bugs mailing list