[Bug c++/18124] New: [3.4/4.0 regression] ICE with invalid template template parameter
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Oct 23 23:11:00 GMT 2004
And another ICE with invalid code and templates:
=================================================
template<template<int> 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.
--
Summary: [3.4/4.0 regression] ICE with invalid template template
parameter
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery, monitored
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18124
More information about the Gcc-bugs
mailing list