This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/10952] New: ICE (segfault) in redeclare_class_template at cp/pt.c:2999
- From: "ehrhardt at mathematik dot uni-ulm dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 May 2003 12:31:07 -0000
- Subject: [Bug c++/10952] New: ICE (segfault) in redeclare_class_template at cp/pt.c:2999
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.