[Bug c++/18121] New: [4.0 regression] ICE with array type
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Oct 23 01:17:00 GMT 2004
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
More information about the Gcc-bugs
mailing list