>Number: 8454 >Category: c++ >Synopsis: G++ 2.95 gives an ICE while compiling the copy constructor of template class CTTT(see attach) >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Mon Nov 04 14:56:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: João Esteves >Release: gcc version 2.95.2 19991024 (release) >Organization: >Environment: FreeBSD 4.1-RELEASE on i386 >Description: bash-2.04$ g++ -o t template.cpp template.cpp: In method `CTTT::CTTT(const CTTT &)': template.cpp:31: Internal compiler error. template.cpp:31: Please submit a full bug report. template.cpp:31: See for instructions. >How-To-Repeat: // // A template class with a single template parameter // template class CT { public: CT(void) {} CT(const CT& rc_other) {} virtual ~CT(void) {} }; // // A template class with two template parameters. // The first template parameter is a template class itself with one // template parameter. // template