This is the mail archive of the gcc-bugs@gcc.gnu.org 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]

c++/2303: ice with templates



>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:


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