------- Comment #2 from reichelt at gcc dot gnu dot org 2006-07-20 09:37 ------- With checking enabled I get the error message:
bug.cc:5: internal compiler error: tree check: expected record_type or union_type or qual_union_type, have template_type_parm in check_template_template_default_arg, at cp/semantics.c:2149 Please submit a full bug report, [etc.] The compiler tries to be too smart and crashes emitting a sensible error message. Testing a patch. -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |reichelt at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Keywords| |monitored http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28363