This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
internal compiler error
- To: egcs-bugs at cygnus dot com
- Subject: internal compiler error
- From: "C. van Reeuwijk" <C dot vanReeuwijk at twi dot tudelft dot nl>
- Date: Wed, 8 Apr 1998 16:54:56 +0200
- Cc: Frits Kuijlman <frits at pgsultra dot twi dot tudelft dot nl>, Leo Breebaart <leo at lspace dot org>
- Organization: Delft University of Technology
The following causes an internal compiler error:
=-=-=-=
template <class T> class bar {};
template class foo : public bar<int> {};
=-=-=-=
Note the 'template' on the second line.
I'm running the following compiler version:
[falcon] % gcc -v
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.91.22/specs
gcc version egcs-2.91.22 980404 (gcc2 ss-980401 experimental)
--
Kees van Reeuwijk, Delft University of Technology
http://pds.twi.tudelft.nl/~reeuwijk