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/97233] New: [11 Regression] ICE in deref_rvalue, at analyzer/region-model.cc:1465
Date: Mon, 28 Sep 2020 18:16:38 +0000	[thread overview]
Message-ID: <bug-97233-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 97233
           Summary: [11 Regression] ICE in deref_rvalue, at
                    analyzer/region-model.cc:1465
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: analyzer
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

gcc-11.0.0-alpha20200927 snapshot (g:e24817aa7a1c6d12039b486ab5ea9b5ee0a46cd4)
ICEs when compiling the following testcase w/ -fanalyzer:

void
longjmp (__SIZE_TYPE__, int);

void
e7 (__SIZE_TYPE__ gr)
{
  longjmp (gr, 1);
}

% gcc-11.0.0 -fanalyzer -c tdkztnou.c
during IPA pass: analyzer
tdkztnou.c: In function 'e7':
tdkztnou.c:7:3: internal compiler error: in deref_rvalue, at
analyzer/region-model.cc:1465
    7 |   longjmp (gr, 1);
      |   ^~~~~~~~~~~~~~~
0x7345b8 ana::region_model::deref_rvalue(ana::svalue const*, tree_node*,
ana::region_model_context*)
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gcc/analyzer/region-model.cc:1465
0x1128c06 ana::exploded_node::on_longjmp(ana::exploded_graph&, gcall const*,
ana::program_state*, ana::region_model_context*) const
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gcc/analyzer/engine.cc:1283
0x1129383 ana::exploded_node::on_stmt(ana::exploded_graph&, ana::supernode
const*, gimple const*, ana::program_state*) const
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gcc/analyzer/engine.cc:1133
0x112ae65 ana::exploded_graph::process_node(ana::exploded_node*)
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gcc/analyzer/engine.cc:2811
0x112b94a ana::exploded_graph::process_worklist()
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gcc/analyzer/engine.cc:2446
0x112da6d ana::impl_run_checkers(ana::logger*)
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gcc/analyzer/engine.cc:4498
0x112e8bc ana::run_checkers()
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gcc/analyzer/engine.cc:4569
0x1121e38 execute
       
/var/tmp/portage/sys-devel/gcc-11.0.0_alpha20200927/work/gcc-11-20200927/gcc/analyzer/analyzer-pass.cc:84

             reply	other threads:[~2020-09-28 18:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-28 18:16 asolokha at gmx dot com [this message]
2020-09-28 23:51 ` [Bug analyzer/97233] " cvs-commit at gcc dot gnu.org
2020-09-28 23:58 ` dmalcolm at gcc dot gnu.org
2021-09-28 10:46 ` pinskia 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-97233-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).