This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13094] [3.5 regression] ICE with template-template parameters
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Mar 2004 11:29:26 -0000
- Subject: [Bug c++/13094] [3.5 regression] ICE with template-template parameters
- References: <20031117235959.13094.ron_hylton@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-03-19 11:29 -------
Here's a redux for the mainline crash:
====================================================
template <template <int> class T> struct A : T<0>
{
A() {}
};
====================================================
PR13094B.cc:7: internal compiler error: tree check: expected record_type,
union_type or qual_union_type; have bound_template_template_parm in
dfs_unuse_fields, at cp/search.c:2259
Please submit a full bug report, [etc.]
Btw, the original code snippet does not compile with 3.4.0, but this
is because of bugs in the code.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Keywords|rejects-valid |ice-on-valid-code
Summary|Incorrect type-id parsing |[3.5 regression] ICE with
| |template-template parameters
Target Milestone|--- |3.5.0
Version|3.4.0 |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13094