[Bug c++/10952] New: ICE (segfault) in redeclare_class_template at cp/pt.c:2999
ehrhardt@mathematik.uni-ulm.de
gcc-bugzilla@gcc.gnu.org
Fri May 23 13:38:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10952
Summary: ICE (segfault) in redeclare_class_template at
cp/pt.c:2999
Product: gcc
Version: 3.4
Status: NEW
Keywords: ice-on-invalid-code
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: ehrhardt@mathematik.uni-ulm.de
CC: gcc-bugs@gcc.gnu.org
The following piece of (obviously illegal) code ICEs all
versions of gcc since at least 2.95 without a prior error message:
------------- cut----------------
template < typename >
struct unary_transform_modifier ;
template <
class unary_transform_modifier
{
------------- cut----------------
regards Christian
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Gcc-bugs
mailing list