public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.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: Wed, 05 Aug 2015 15:56:00 -0000 [thread overview] Message-ID: <bug-66896-4-aSmbX7oEnL@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-66896-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66896 --- Comment #12 from Martin Liška <marxin at gcc dot gnu.org> --- (In reply to Vittorio Zecca from comment #11) > I have a version of gcc 5.2.0 compiled with the -fsanitize=undefined option. > This sanitized version gave me a runtime error due to dereferencing > the pointer dst_ctx > which was NULL. After the change I suggested the message disappeared. > > You may double check my finding, as I did myself, by putting > > assert(dst_ctx) > > before its dereferencing in ipa-prop.c as in > > assert(dst_ctx),dst_ctx->combine_with (ctx); > > It happens twice in isa-prop.c > > Then try it with the two C codes I sent, with option -O2 Hello. I double-checked that there's no other NULL dereferencing in ipa-prop.c. Can you please confirm that gcc-5-branch works correctly? Thanks, Martin >From gcc-bugs-return-494196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Aug 05 16:16:16 2015 Return-Path: <gcc-bugs-return-494196-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org> Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 121097 invoked by alias); 5 Aug 2015 16:16:16 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-bugs.gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/> List-Post: <mailto:gcc-bugs@gcc.gnu.org> List-Help: <mailto:gcc-bugs-help@gcc.gnu.org> Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 121009 invoked by uid 55); 5 Aug 2015 16:16:12 -0000 From: "mikael at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/64921] [4.9/5/6 Regression] FAIL: gfortran.dg/class_allocate_18.f90 Date: Wed, 05 Aug 2015 16:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mikael at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: mikael at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-64921-4-WyYi5Kniqd@http.gcc.gnu.org/bugzilla/> In-Reply-To: <bug-64921-4@http.gcc.gnu.org/bugzilla/> References: <bug-64921-4@http.gcc.gnu.org/bugzilla/> 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-08/txt/msg00338.txt.bz2 Content-length: 758 https://gcc.gnu.org/bugzilla/show_bug.cgi?idd921 --- Comment #27 from Mikael Morin <mikael at gcc dot gnu.org> --- Author: mikael Date: Wed Aug 5 16:15:40 2015 New Revision: 226636 URL: https://gcc.gnu.org/viewcvs?rev"6636&root=gcc&view=rev Log: Fix random class_allocate_18.f90 failure PR fortran/64921 gcc/fortran/ * class.c (generate_finalization_wrapper): Set finalization procedure symbol's always_explicit attribute. gcc/testsuite/ * gfortran.dg/class_allocate_20.f90: New. Added: branches/gcc-5-branch/gcc/testsuite/gfortran.dg/class_allocate_20.f90 Modified: branches/gcc-5-branch/gcc/fortran/ChangeLog branches/gcc-5-branch/gcc/fortran/class.c branches/gcc-5-branch/gcc/testsuite/ChangeLog
next prev parent reply other threads:[~2015-08-05 15:56 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-07-16 8:11 [Bug c++/66896] New: " zeccav at gmail dot com 2015-07-16 9:37 ` [Bug ipa/66896] " marxin at gcc dot gnu.org 2015-07-16 14:48 ` marxin at gcc dot gnu.org 2015-07-16 14:53 ` marxin at gcc dot gnu.org 2015-07-17 6:36 ` zeccav at gmail dot com 2015-07-23 8:28 ` zeccav at gmail dot com 2015-07-24 11:34 ` jamborm at gcc dot gnu.org 2015-07-24 14:02 ` zeccav at gmail dot com 2015-07-24 14:03 ` zeccav at gmail dot com 2015-07-24 16:08 ` jamborm at gcc dot gnu.org 2015-07-24 17:24 ` zeccav at gmail dot com 2015-08-05 15:56 ` marxin at gcc dot gnu.org [this message] 2015-08-06 6:24 ` zeccav at gmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-66896-4-aSmbX7oEnL@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).