[Bug c++/56243] [4.8 regression] ICE in tree check: expected field_decl, have identifier_node in fixed_type_or_null, at cp/class.c:6645

fabien at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Feb 23 22:02:00 GMT 2013


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

--- Comment #5 from fabien at gcc dot gnu.org 2013-02-23 22:02:16 UTC ---
reduced testcase:

class A
{
    virtual int String ();
};

class F: public A { };

template < typename V > class G
{
    V value;
};

class D
{
    template < int N > void Verify() {
      G<A>* x = 0;
      F& name = x->value;
      name.String();
    }
};



More information about the Gcc-bugs mailing list