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: "jamborm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 24 Jul 2015 16:08:32 +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 #10 from Martin Jambor <jamborm at gcc dot gnu.org> ---
(In reply to Vittorio Zecca from comment #8)
> Created attachment 36052 [details]
> To be compiled with -O2
This compiles fine for me (with -O2) both with the current trunk and
the current gcc 5 branch.
(In reply to Vittorio Zecca from comment #9)
> 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.
What sanitizer error?