This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/66896] ipa-prop.c:2479 runtime error: member call on null pointer of type 'struct ipa_polymorphic_call_context'
- From: "marxin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Jul 2015 14:53:40 +0000
- Subject: [Bug ipa/66896] ipa-prop.c:2479 runtime error: member call on null pointer of type 'struct ipa_polymorphic_call_context'
- Auto-submitted: auto-generated
- References: <bug-66896-4 at http dot gcc dot gnu dot org/bugzilla/>
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