c++/2303: ice with templates
Jerome.Abela@free.fr
Jerome.Abela@free.fr
Fri Mar 16 08:16:00 GMT 2001
>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:
More information about the Gcc-bugs
mailing list