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/93388] ensure -fanalyzer works with our C code Date: Wed, 14 Oct 2020 20:39:08 +0000 [thread overview] Message-ID: <bug-93388-4-YgvMeE0tp0@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-93388-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93388 --- Comment #23 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:61a43de58cb6de7212a622060500ad0a0fd94fae commit r11-3896-g61a43de58cb6de7212a622060500ad0a0fd94fae Author: David Malcolm <dmalcolm@redhat.com> Date: Tue Oct 13 18:49:11 2020 -0400 analyzer: fix ICE on globals with unknown size [PR93388] This patch fixes an ICE seen when attempting to build various existing tests in our testsuite with -fanalyzer, including gcc.c-torture/compile/980816-1.c. gcc/analyzer/ChangeLog: PR analyzer/93388 * region-model.cc (region_model::get_initial_value_for_global): Fall back to returning an initial_svalue if decl_region::get_svalue_for_initializer fails. * region.cc (decl_region::get_svalue_for_initializer): Don't attempt to create a compound_svalue if the region has an unknown size. gcc/testsuite/ChangeLog: PR analyzer/93388 * gcc.dg/analyzer/data-model-21.c: New test.
next prev parent reply other threads:[~2020-10-14 20:39 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-93388-4@http.gcc.gnu.org/bugzilla/> 2020-05-08 8:22 ` dcb314 at hotmail dot com 2020-08-14 3:40 ` asolokha at gmx dot com 2020-08-14 9:00 ` dcb314 at hotmail dot com 2020-08-14 18:42 ` dcb314 at hotmail dot com 2020-09-28 10:20 ` asolokha at gmx dot com 2020-09-28 10:42 ` dcb314 at hotmail dot com 2020-09-28 11:03 ` asolokha at gmx dot com 2020-10-14 20:39 ` cvs-commit at gcc dot gnu.org [this message] 2020-10-14 20:57 ` dmalcolm at gcc dot gnu.org 2020-10-14 21:05 ` dmalcolm at gcc dot gnu.org 2020-10-14 21:34 ` dcb314 at hotmail 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-93388-4-YgvMeE0tp0@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).