[Bug tree-optimization/46302] [4.6 Regression] Program with virtual public inheritance crashes at O3

jamborm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 11 17:18:00 GMT 2010


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

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2010.11.11 17:17:46
         AssignedTo|unassigned at gcc dot       |jamborm at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1

--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> 2010-11-11 17:17:46 UTC ---
Yes, it is almost certainly wrong devirtualization in a constructor
because the dynamic type is different from the static type that is
in the incoming jump function.  Mine.



More information about the Gcc-bugs mailing list