[Bug lto/41547] New: ICEs in lto_symtab_merge_decl, at lto-symtab.c:577
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Oct 2 14:25:00 GMT 2009
template < class T >
class DataArray {
int max() const { }
};
class Name { };
class DataHashTable {
template < class ElemHashItem > class Element { };
DataArray < Element < Name > > m_elem;
};
DataHashTable p;
./g++ -B. -nostdlib -fPIC -shared spxgeneralsm.3.ii -flto
lto1: internal compiler error: in lto_symtab_merge_decl, at lto-symtab.c:577
DataArray<>::max is not mangled.
--
Summary: ICEs in lto_symtab_merge_decl, at lto-symtab.c:577
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41547
More information about the Gcc-bugs
mailing list