[Bug c++/13094] [3.5 regression] ICE with template-template parameters
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Mar 19 11:29:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list