[Bug c++/21123] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

belyshev at depni dot sinp dot msu dot ru gcc-bugzilla@gcc.gnu.org
Fri Apr 29 13:12:00 GMT 2005


------- Additional Comments From belyshev at depni dot sinp dot msu dot ru  2005-04-29 13:12 -------
// Confirmed, smaller testcase:

struct U {
  U ();
  U (const U&);
};

struct T {
  U u;
};

struct V : T {
  int operator= (V &__x);
};

struct A {
  virtual V foo() const;
};

struct B : virtual public A {
  virtual V foo() const;
};

V B::foo() const
{
  V ret;
  return ret;
}


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|hppa-suse-linux-gnu         |
   GCC host triplet|hppa-suse-linux-gnu         |
   Last reconfirmed|0000-00-00 00:00:00         |2005-04-29 13:12:21
               date|                            |


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



More information about the Gcc-bugs mailing list