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

--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Fri Dec 21 19:13:06 2018
New Revision: 267338

URL: https://gcc.gnu.org/viewcvs?rev=267338&root=gcc&view=rev
Log:

        PR ipa/88561
        * ipa-polymorphic-call.c
        (ipa_polymorphic_call_context::ipa_polymorphic_call_context): Handle
        arguments of thunks correctly.
        (ipa_polymorphic_call_context::get_dynamic_context): Be ready for
        NULL instance pinter.
        * lto-cgraph.c (lto_output_node): Always stream thunk info.

Added:
    trunk/gcc/testsuite/g++.dg/tree-prof/devirt.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-polymorphic-call.c
    trunk/gcc/lto-cgraph.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to