18124 – [3.4 regression] ICE with invalid template template parameter (original) (raw)

Description Volker Reichelt 2004-10-23 23:11:01 UTC

And another ICE with invalid code and templates:

================================================= template<template class class> class A {};

bug.cc:1: error: expected identifier before "class" bug.cc:1: internal compiler error: tree check: expected identifier_node, have error_mark in lookup_name_current_level, at cp/name-lookup.c:4144 Please submit a full bug report, [etc.]

Phil's regression hunter says: : Search converges between 2002-12-14-trunk (#159) and 2002-12-29-trunk (#160).

Looks like it was introduced with the new parser.