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/108171] New: [13 Regression] ICE in binding_key::make, at analyzer/store.cc:132
Date: Mon, 19 Dec 2022 06:30:40 +0000	[thread overview]
Message-ID: <bug-108171-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108171

            Bug ID: 108171
           Summary: [13 Regression] ICE in binding_key::make, at
                    analyzer/store.cc:132
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: analyzer
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

Created attachment 54123
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54123&action=edit
Testcase

gcc 13.0.0 20221211 snapshot (g:fd69977febf399d1992bbf8d66ae9170e0a4dc9f) ICEs
when compiling test/f90_correct/src/wa02.f90 from the flang test suite w/
-fanalyzer:

% gfortran-13 -fanalyzer -c flang/test/f90_correct/src/wa02.f90
during IPA pass: analyzer
flang/test/f90_correct/src/wa02.f90:17:23:

   17 |         s = (/ ( i, i=1,n ) /)
      |                              ^
internal compiler error: in make, at analyzer/store.cc:132
0x7c016f ana::binding_key::make(ana::store_manager*, ana::region const*)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221218/work/gcc-13-20221218/gcc/analyzer/store.cc:132
0x1397f04 ana::binding_cluster::get_binding(ana::store_manager*, ana::region
const*) const
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221218/work/gcc-13-20221218/gcc/analyzer/store.cc:1554
0x1398167 ana::binding_cluster::get_binding_recursive(ana::store_manager*,
ana::region const*) const
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221218/work/gcc-13-20221218/gcc/analyzer/store.cc:1591
0x139a1b5 ana::binding_cluster::get_any_binding(ana::store_manager*,
ana::region const*) const
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221218/work/gcc-13-20221218/gcc/analyzer/store.cc:1614
0x133ea16 ana::region_model::get_store_value(ana::region const*,
ana::region_model_context*) const
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221218/work/gcc-13-20221218/gcc/analyzer/region-model.cc:2337
0x1340ddc ana::region_model::get_rvalue(ana::path_var,
ana::region_model_context*) const
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221218/work/gcc-13-20221218/gcc/analyzer/region-model.cc:2227
0x1344b77 ana::region_model::on_assignment(gassign const*,
ana::region_model_context*)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221218/work/gcc-13-20221218/gcc/analyzer/region-model.cc:1101
0x1316bd4 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_p20221218/work/gcc-13-20221218/gcc/analyzer/engine.cc:1452
0x1319cb5 ana::exploded_graph::process_node(ana::exploded_node*)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221218/work/gcc-13-20221218/gcc/analyzer/engine.cc:4044
0x131ac6a ana::exploded_graph::process_worklist()
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221218/work/gcc-13-20221218/gcc/analyzer/engine.cc:3447
0x131d3e4 ana::impl_run_checkers(ana::logger*)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221218/work/gcc-13-20221218/gcc/analyzer/engine.cc:6098
0x131e3e6 ana::run_checkers()
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221218/work/gcc-13-20221218/gcc/analyzer/engine.cc:6186
0x130cda8 execute
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221218/work/gcc-13-20221218/gcc/analyzer/analyzer-pass.cc:87

             reply	other threads:[~2022-12-19  6:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-19  6:30 asolokha at gmx dot com [this message]
2022-12-19  8:30 ` [Bug analyzer/108171] " rguenth at gcc dot gnu.org
2022-12-19 14:25 ` [Bug analyzer/108171] [13 Regression] ICE in binding_key::make, at analyzer/store.cc:132 since r13-4529-gdfe2ef7f2b6cac70 marxin at gcc dot gnu.org
2023-04-26  6:57 ` [Bug analyzer/108171] [13/14 " rguenth at gcc dot gnu.org
2023-04-30 20:41 ` arsen at gcc dot gnu.org
2023-07-27  9:24 ` rguenth at gcc dot gnu.org
2023-08-03 14:26 ` dmalcolm at gcc dot gnu.org
2023-08-03 14:47 ` cvs-commit at gcc dot gnu.org
2023-08-03 14:53 ` dmalcolm at gcc dot gnu.org
2024-05-09 17:11 ` cvs-commit 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-108171-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: link
Be 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).