This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18121] New: [4.0 regression] ICE with array type
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Oct 2004 01:17:30 -0000
- Subject: [Bug c++/18121] New: [4.0 regression] ICE with array type
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following valid code snippet causes a segfault on mainline:
===================================
template<int> struct A
{
static int const i = 1;
};
template<int N> struct B
{
typedef int (*p)[A<N>::i];
};
===================================
According to Phil's regression hunter we have:
: Search converges between 2004-05-11-trunk (#454) and 2004-05-14-trunk (#455).
So this was probably introduced by the tree-ssa merge.
--
Summary: [4.0 regression] ICE with array type
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: critical
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=18121