[Bug middle-end/60640] [4.9 Regression] ICE edge points to wrong declaration / verify_cgraph_node failed

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 28 12:44:00 GMT 2014


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #4)
> That is still too big, here is a smaller one:
> struct B { virtual unsigned f () const; };
> struct C { virtual void f (); };
> struct F { virtual unsigned f (bool) const; ~F (); };
> struct J : C, F {};
> struct G : J { unsigned f (bool) const { return 0; } };
> struct H : B
> {
>   H (int);
>   unsigned f () const { return ((const F &) h).f (0); }
>   G h;
> };
> H h (0);

Though, on this reduced testcase the ICE started with r176424, i.e. making it a
4.7/4.8/4.9 Regression on that testcase.



More information about the Gcc-bugs mailing list