This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]


>Number:         6839
>Category:       c++
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Mon May 27 16:46:00 PDT 2002
>Originator:     Kari Pahula
>Release:        3.1 (Debian)
System: Linux sammakko 2.4.17 #10 Sat Dec 29 12:59:59 EET 2001 i686 unknown
Architecture: i686

host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /mnt/data/gcc-3.1/gcc-3.1-3.1ds2/src/configure -v --enable-languages=c,c++,java,f77,proto,objc,ada --prefix=/usr --mandir=$(prefix)/share/man --infodir=$(prefix)/share/info --with-gxx-include-dir=$(prefix)/include/g++-v3-3.1 --enable-shared --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --enable-clocale=gnu --enable-threads=posix --enable-java-gc=boehm --enable-objc-gc i386-linux
I'm not 100% sure if the following is correct C++, but it causes an ICE
class Cyborg {};
class MapCell {};
template <class MType>
class Map {};

template <class C, class E, class M> class Hivemain;

template <class CType, class EType, class MType>
class Hivemain {
  void commloop();

template <typename CType, typename EType, typename MType>
void Hivemain<CType, EType, MType>::commloop(){}

template void Hivemain<Cyborg, Cyborg, MapCell>::commloop;

bash-2.05a$ g++-3.1 Internal compiler error. Please submit a full bug report. Internal compiler error: See <URL:> for instructions.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]