gcc internal error for reserved symbols

sebor@my-Deja.com
Sun Feb 13 19:01:00 GMT 2000


Hi,

the code below gives an internal compiler error with g++ 2.95.2. I know that g++ reserves a bunch of symbols that start with two underscores but a descriptive error message would be an improvement.

Thanks
Martin

$ cat test.cpp

void foo ()
{
    int __sz = 0;
}

$ g++ -c test.cpp
test.cpp: In function `void foo()':
test.cpp:5: Internal compiler error.
test.cpp:5: Please submit a full bug report.
test.cpp:5: See <URL: http://www.gnu.org/software/gcc/faq.html#bugreport > for instructions.


--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.


More information about the Gcc-bugs mailing list