c++/6839:
Kari Pahula
kari@sammakko.yok.utu.fi
Mon May 27 16:46:00 GMT 2002
>Number: 6839
>Category: c++
>Synopsis:
>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
>Closed-Date:
>Last-Modified:
>Originator: Kari Pahula
>Release: 3.1 (Debian)
>Organization:
>Environment:
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
>Description:
I'm not 100% sure if the following is correct C++, but it causes an ICE
nonetheless.
>How-To-Repeat:
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 {
public:
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 gccbug.cc
gccbug.cc:17: Internal compiler error.
gccbug.cc:17: Please submit a full bug report.
gccbug.cc:17: Internal compiler error:
gccbug.cc:17: See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list