[Bug c++/27430] New: ICE on array of voids as template parameter
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu May 4 16:41:00 GMT 2006
The following invalid code snippet causes an ICE since at least GCC 2.95.3:
=================================
template<void[]> struct A;
=================================
bug.cc:1: error: creating array of void
bug.cc:1: internal compiler error: tree check: expected class 'type', have
'exceptional' (error_mark) in process_template_parm, at cp/pt.c:2354
Please submit a full bug report, [etc.]
--
Summary: ICE on array of voids as template parameter
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27430
More information about the Gcc-bugs
mailing list