public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/96374] Analyzer erroneously rejects certain diagnostics due to path-feasibility being used on shortest path Date: Thu, 11 Mar 2021 22:44:18 +0000 [thread overview] Message-ID: <bug-96374-4-DP054WfWue@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-96374-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96374 --- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by David Malcolm <dmalcolm@gcc.gnu.org>: https://gcc.gnu.org/g:3f958348e78f38d91f0611618bb909182170c0f3 commit r11-7638-g3f958348e78f38d91f0611618bb909182170c0f3 Author: David Malcolm <dmalcolm@redhat.com> Date: Thu Mar 11 17:43:39 2021 -0500 analyzer: gracefully handle impossible paths in shortest-paths.h This bulletproofs the shortest_paths code against unreachable nodes, gracefully handling them, rather than failing an assertion. I've marked this as "analyzer" as this is the only code using shortest-paths.h. This patch is required by followup work to fix PR analyzer/96374. gcc/ChangeLog: * digraph.cc (selftest::test_shortest_paths): Add test coverage for paths from B and C. * shortest-paths.h (shortest_paths::shortest_paths): Handle unreachable nodes, rather than asserting.
next prev parent reply other threads:[~2021-03-11 22:44 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-07-29 15:33 [Bug analyzer/96374] New: " dmalcolm at gcc dot gnu.org 2020-07-29 15:42 ` [Bug analyzer/96374] " dmalcolm at gcc dot gnu.org 2021-02-02 2:53 ` cvs-commit at gcc dot gnu.org 2021-02-02 2:55 ` cvs-commit at gcc dot gnu.org 2021-02-26 1:00 ` cvs-commit at gcc dot gnu.org 2021-03-10 17:03 ` cvs-commit at gcc dot gnu.org 2021-03-11 22:44 ` cvs-commit at gcc dot gnu.org [this message] 2021-03-11 22:45 ` cvs-commit at gcc dot gnu.org 2021-03-11 22:48 ` cvs-commit at gcc dot gnu.org 2021-03-11 23:16 ` dmalcolm at gcc dot gnu.org
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-96374-4-DP054WfWue@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).