class DataArray { int max() const { } }; template < class HashItem > class DataHashTable { template < class ElemHashItem > class Element { }; typedef Element< HashItem > Elem; DataArray m_elem; }; class Name { }; class NameSet { DataHashTable < Name > hashtab; }; NameSet p;
./g++ -B. -nostdlib -fPIC -shared spxgeneralsm.3.2.ii -flto spxgeneralsm.3.2.ii:15:10: internal compiler error: tree code 'lang_type' is not supported in gimple streams -- Summary: ICE: tree code 'lang_type' is not supported in gimple streams 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=41548