[Bug ipa/59831] [4.9 Regression] ice in cgraph_speculative_call_info with -O3

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 16 18:28:00 GMT 2014


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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |hubicka at gcc dot gnu.org

--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Here inliner turns virtual call to direct call while versioning. This
devirtualization is missed by ipa-cp, but anticipated by ipa-devirt's
speculative code.  The ICE happens since inliner is done with copying edges but
not with references while it attempts to resolve the indirect call.
I am looking into fix.



More information about the Gcc-bugs mailing list