------- Comment #7 from reichelt at gcc dot gnu dot org  2006-10-05 23:28 
-------
Because of Jason's patch for PR 28346 the code is now wrongly accepted
on the 4.0 branch. With a slightly different testcase I can still
trigger the ICE, though:

==========================================
bool b;

template<int> struct A
{
    int& i;
    A();
    ~A() { b = (&A::i == &A::i); }
};

A<0> a;
==========================================


-- 


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

Reply via email to