------- Comment #9 from reichelt at gcc dot gnu dot org  2005-10-17 23:54 
-------
Shorter testcase (ICEs with -O):

===============================================================
#pragma interface
template<typename T> struct A { T *p; ~A() { delete p; } };
template<typename T> struct B : A<T> { B(const A<T>&); };
struct C { B<C> b; C(const B<C>&); };
void foo() { new C(A<C>()); }
===============================================================


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24248

Reply via email to