This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/53816] [4.7/4.8 Regression] internal compiler error: tree check: expected field_decl, have identifier_node in fixed_type_or_null, at cp/class.c:6419, with -std=c++11 option


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-07-02
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-07-02 09:47:02 UTC ---
Slightly reduced:
template <typename T>
struct S { int v () const; };
template <typename T>
struct V : public S<T> {};
struct U
{
  V<int> v;
  template<typename T>
  struct W
  {
    W (U const &x) { V<int> const &v = x.v; v.v(); }
  };
};

Started failing with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172165
aka PR48500 (so it surprises me it doesn't hit 4.6.x too because that change
has been backported there too).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]