This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/2303: ice with templates
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c++/2303: ice with templates
- From: Jerome dot Abela at free dot fr
- Date: 16 Mar 2001 16:08:36 -0000
- Reply-To: Jerome dot Abela at free dot fr
>Number: 2303
>Category: c++
>Synopsis: ice with templates
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Fri Mar 16 08:16:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Jerome Abela
>Release: gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
Linux/i386
>Description:
cc1plus: register name not specified for ` /* decl error */ '
CDb1.cc:11: Internal compiler error in `make_decl_rtl', at varasm.c:738
Please submit a full bug report.
>How-To-Repeat:
Compile the following:
template <class charT> class basic_string { };
typedef basic_string <char> string;
class Bug1 : Bug2 {
Bug1() { i = 1; s = new string; }
int i;
string* s;
};
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: