internal compiler error

Vig Attila vig@sigmoid.hu
Wed Apr 18 09:18:00 GMT 2001


Hello!

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
message.
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
cast
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: http://www.gnu.org/software/gcc/bugs.html > 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.

Bye,
Attila


More information about the Gcc-bugs mailing list