[Bug ipa/66896] ipa-prop.c:2479 runtime error: member call on null pointer of type 'struct ipa_polymorphic_call_context'

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 16 14:53:00 GMT 2015


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

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Jul 16 14:53:08 2015
New Revision: 225888

URL: https://gcc.gnu.org/viewcvs?rev=225888&root=gcc&view=rev
Log:
Fix PR ipa/66896.

        * g++.dg/ipa/pr66896.c: New test.
        PR ipa/66896.
        * ipa-prop.c (update_jump_functions_after_inlining): Create properly
        dst_ctx if it does not exist.

Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/ipa-prop.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list