This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]