This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18981] New: [4.0 regression] ICE in cp_parser_lookup_name
- From: "schwab at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2004 13:07:25 -0000
- Subject: [Bug c++/18981] New: [4.0 regression] ICE in cp_parser_lookup_name
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ cat tree.cc
template <class T>
struct tree {
struct iterator;
struct sibling_iterator {
friend struct tree<T>::iterator;
};
};
$ gcc tree.cc
tree.cc:5: internal compiler error: tree check: expected typename_type, have
record_type in cp_parser_lookup_name, at cp/parser.c:14210
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: [4.0 regression] ICE in cp_parser_lookup_name
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schwab at suse dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18981