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/107486] New: [13 Regression] ICE in deref_rvalue, at analyzer/region-model.cc:3317
Date: Tue, 01 Nov 2022 05:28:10 +0000	[thread overview]
Message-ID: <bug-107486-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 107486
           Summary: [13 Regression] ICE in deref_rvalue, at
                    analyzer/region-model.cc:3317
           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: ---

gcc 13.0.0 20221030 snapshot (g:f36bba013361d8d4f9c7237c3307630de0cc0416) ICEs
when compiling the following testcase, reduced from
test/CodeGen/2008-07-31-asm-labels.c from the clang 14 test suite, w/
-fanalyzer:

void pipe(int) asm("_thisIsNotAPipe");

void f1(void) {
  pipe(1);
}

% gcc-13 -fanalyzer -c sdgrfguh.c
during IPA pass: analyzer
sdgrfguh.c: In function 'f1':
sdgrfguh.c:4:3: internal compiler error: in deref_rvalue, at
analyzer/region-model.cc:3317
    4 |   pipe(1);
      |   ^~~~~~~
0x7d4fd0 ana::region_model::deref_rvalue(ana::svalue const*, tree_node*,
ana::region_model_context*) const
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221030/work/gcc-13-20221030/gcc/analyzer/region-model.cc:3317
0x13151ea update_model
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221030/work/gcc-13-20221030/gcc/analyzer/region-model-impl-calls.cc:608
0x12d9d4d ana::exploded_graph::process_node(ana::exploded_node*)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221030/work/gcc-13-20221030/gcc/analyzer/engine.cc:4133
0x12da7aa ana::exploded_graph::process_worklist()
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221030/work/gcc-13-20221030/gcc/analyzer/engine.cc:3422
0x12dce9c ana::impl_run_checkers(ana::logger*)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221030/work/gcc-13-20221030/gcc/analyzer/engine.cc:6070
0x12ddeee ana::run_checkers()
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221030/work/gcc-13-20221030/gcc/analyzer/engine.cc:6144
0x12cc848 execute
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20221030/work/gcc-13-20221030/gcc/analyzer/analyzer-pass.cc:86

             reply	other threads:[~2022-11-01  5:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-01  5:28 asolokha at gmx dot com [this message]
2022-11-02 15:20 ` [Bug analyzer/107486] [13 Regression] ICE when pipe's argument is not a pointer type dmalcolm at gcc dot gnu.org
2022-11-03 14:22 ` cvs-commit at gcc dot gnu.org
2022-11-03 14:58 ` dmalcolm at gcc dot gnu.org
2022-11-28 22:08 ` 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-107486-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).