From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13324 invoked by alias); 24 Jul 2015 16:08:36 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 11478 invoked by uid 48); 24 Jul 2015 16:08:32 -0000 From: "jamborm at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/66896] ipa-prop.c:2479 runtime error: member call on null pointer of type 'struct ipa_polymorphic_call_context' Date: Fri, 24 Jul 2015 16:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamborm at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-07/txt/msg02138.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66896 --- Comment #10 from Martin Jambor --- (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?