C++ ICE with egcs-2.93.11 on alphaev56-dec-osf4.0d
Oskar Enoksson
osken393@mail.student.liu.se
Thu Mar 18 10:28:00 GMT 1999
The following code generates an ICE with egcs-2.93.11 on my
alphaev56-dec-osf4.0d. The syntax on line 8 is wrong, but the compiler
should generate an error instead of crash.
/* Begin ice.cpp */
template<int N>
class Foo {
public:
Foo();
};
template<int N>
Foo<N>::Foo<N> () {}
/* End ice.cpp */
> c++ -c icecode.cpp
ice.cpp:8: Internal compiler error.
ice.cpp:8: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
ice.cpp:8: See <URL: http://egcs.cygnus.com/faq.html#bugreport > for
details.
>
/* Oskar Enoksson, Linkoping, Sweden */
More information about the Gcc-bugs
mailing list