This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13710] New: ICE
- From: "anders at kaseorg dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jan 2004 18:15:37 -0000
- Subject: [Bug c++/13710] New: ICE
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
g++ 3.3.2 crashes on this code:
template<int n> class X {template<class Y> typeof(Y::y) foo();};
X<0> x;
It also crashes if typeof(Y::y) is a parameter type instead of a return type. It
compiles fine if X isn't a template. I'm not sure whether this is related to bug
11756.
gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
--
Summary: ICE
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: anders at kaseorg dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i386-redhat-linux
GCC host triplet: i386-redhat-linux
GCC target triplet: i386-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13710