[Bug ipa/66896] ipa-prop.c:2479 runtime error: member call on null pointer of type 'struct ipa_polymorphic_call_context'
zeccav at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jul 24 14:03:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66896
--- Comment #9 from Vittorio Zecca <zeccav at gmail dot com> ---
At line 2473 of ipa-prop.c I have
if (!ctx.useless_p ())
I changed it into
if (!ctx.useless_p () || !dst_ctx)
Now the sanitizer runtime error message disappears.
I am attaching another source, gccerr20-bis.C, that used to force
update_jump_functions_after_inlining to reference a NULL pointer dst_ctx
More information about the Gcc-bugs
mailing list