public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/106845] New: [13 Regression] ICE in exceeds_p, at analyzer/store.cc:464 Date: Tue, 06 Sep 2022 07:06:21 +0000 [thread overview] Message-ID: <bug-106845-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106845 Bug ID: 106845 Summary: [13 Regression] ICE in exceeds_p, at analyzer/store.cc:464 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: asolokha at gmx dot com CC: tlange at gcc dot gnu.org Target Milestone: --- gcc 13.0.0 20220904 snapshot (g:20d30e737ad79dc36817e59f1676aa8bc0c6b325) ICEs when compiling the following testcase w/ -fanalyzer: int buf_size; int main (void) { char buf[buf_size]; __builtin_memset (&buf[1], 0, buf_size); return 0; } % gcc-13.0.0 -fanalyzer -c vuqxegnn.c during IPA pass: analyzer vuqxegnn.c: In function 'main': vuqxegnn.c:8:3: internal compiler error: in exceeds_p, at analyzer/store.cc:464 8 | __builtin_memset (&buf[1], 0, buf_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0x7cd727 ana::byte_range::exceeds_p(ana::byte_range const&, ana::byte_range*) const /var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/analyzer/store.cc:464 0x12d8d97 ana::region_model::check_region_bounds(ana::region const*, ana::access_direction, ana::region_model_context*) const /var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/analyzer/region-model.cc:1658 0x12d9121 ana::region_model::check_region_access(ana::region const*, ana::access_direction, ana::region_model_context*) const /var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/analyzer/region-model.cc:3234 0x12d9121 ana::region_model::check_region_for_write(ana::region const*, ana::region_model_context*) const /var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/analyzer/region-model.cc:3255 0x12f03e8 ana::region_model::impl_call_memset(ana::call_details const&) /var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/analyzer/region-model-impl-calls.cc:548 0x12debc0 ana::region_model::on_call_pre(gcall const*, ana::region_model_context*, bool*) /var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/analyzer/region-model.cc:1953 0x12e9a12 ana::region_model::on_stmt_pre(gimple const*, bool*, bool*, ana::region_model_context*) /var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/analyzer/region-model.cc:1257 0x12b5878 ana::exploded_node::on_stmt(ana::exploded_graph&, ana::supernode const*, gimple const*, ana::program_state*, ana::uncertainty_t*, ana::path_context*) /var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/analyzer/engine.cc:1430 0x12b871f ana::exploded_graph::process_node(ana::exploded_node*) /var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/analyzer/engine.cc:3868 0x12b974a ana::exploded_graph::process_worklist() /var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/analyzer/engine.cc:3271 0x12bbe3c ana::impl_run_checkers(ana::logger*) /var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/analyzer/engine.cc:5912 0x12bce8e ana::run_checkers() /var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/analyzer/engine.cc:5986 0x12abdf8 execute /var/tmp/portage/sys-devel/gcc-13.0.0_p20220904/work/gcc-13-20220904/gcc/analyzer/analyzer-pass.cc:87
next reply other threads:[~2022-09-06 7:06 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-09-06 7:06 asolokha at gmx dot com [this message] 2022-09-06 9:00 ` [Bug analyzer/106845] [13 Regression] ICE in exceeds_p, at analyzer/store.cc:464 since r13-2029-g7e3b45befdbbf1a1 marxin at gcc dot gnu.org 2022-09-06 9:24 ` rguenth at gcc dot gnu.org 2022-09-06 13:36 ` dmalcolm at gcc dot gnu.org 2022-09-06 15:18 ` tlange at gcc dot gnu.org 2022-09-06 15:23 ` dmalcolm at gcc dot gnu.org 2022-09-06 15:32 ` tlange at gcc dot gnu.org 2022-09-11 22:02 ` cvs-commit at gcc dot gnu.org 2022-09-11 22:11 ` tlange 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-106845-4@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).