[Bug c++/70202] ICE on invalid code on x86_64-linux-gnu in build_simple_base_path, at cp/class.c:579

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 13 22:44:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70202

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-03-13
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase:
class A
{
  virtual void foo () { }
};
class B : public A, A
{
};
B b1, &b2 = b1;
A a = b2;


More information about the Gcc-bugs mailing list