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/105765] New: [13 Regression] ICE: Segmentation fault (in ana::region_model::deref_rvalue) Date: Sun, 29 May 2022 05:18:03 +0000 [thread overview] Message-ID: <bug-105765-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105765 Bug ID: 105765 Summary: [13 Regression] ICE: Segmentation fault (in ana::region_model::deref_rvalue) 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 20220522 snapshot (g:a60228404f2ac11b5eb66270037ff3fa6bf948e5) ICEs when compiling the following testcase, reduced from clang/testsuite/CodeGen/ms_abi_aarch64.c from the clang 14.0.3 test suite, w/ -fanalyzer: void f4 (int a, ...) { __builtin_ms_va_list ap, ap2; __builtin_ms_va_start (ap, a); __builtin_ms_va_copy (ap2, ap); __builtin_ms_va_end (ap); } % gcc-13.0.0 -fanalyzer -c jhszfd06.c during IPA pass: analyzer jhszfd06.c: In function 'f4': jhszfd06.c:7:3: internal compiler error: Segmentation fault 7 | __builtin_ms_va_copy (ap2, ap); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0xedc30f crash_signal /var/tmp/portage/sys-devel/gcc-13.0.0_p20220522/work/gcc-13-20220522/gcc/toplev.cc:322 0x12af921 ana::region_model::deref_rvalue(ana::svalue const*, tree_node*, ana::region_model_context*) const /var/tmp/portage/sys-devel/gcc-13.0.0_p20220522/work/gcc-13-20220522/gcc/analyzer/region-model.cc:2472 0x1311110 get_BT_VALIST_ARG /var/tmp/portage/sys-devel/gcc-13.0.0_p20220522/work/gcc-13-20220522/gcc/analyzer/varargs.cc:183 0x1311449 ana::region_model::impl_call_va_copy(ana::call_details const&) /var/tmp/portage/sys-devel/gcc-13.0.0_p20220522/work/gcc-13-20220522/gcc/analyzer/varargs.cc:670 0x12b2268 ana::region_model::on_call_pre(gcall const*, ana::region_model_context*, bool*) /var/tmp/portage/sys-devel/gcc-13.0.0_p20220522/work/gcc-13-20220522/gcc/analyzer/region-model.cc:1439 0x12c0bc2 ana::region_model::on_stmt_pre(gimple const*, bool*, bool*, ana::region_model_context*) /var/tmp/portage/sys-devel/gcc-13.0.0_p20220522/work/gcc-13-20220522/gcc/analyzer/region-model.cc:1213 0x128bff9 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_p20220522/work/gcc-13-20220522/gcc/analyzer/engine.cc:1383 0x128f3cc ana::exploded_graph::process_node(ana::exploded_node*) /var/tmp/portage/sys-devel/gcc-13.0.0_p20220522/work/gcc-13-20220522/gcc/analyzer/engine.cc:3776 0x12903da ana::exploded_graph::process_worklist() /var/tmp/portage/sys-devel/gcc-13.0.0_p20220522/work/gcc-13-20220522/gcc/analyzer/engine.cc:3219 0x1292ac5 ana::impl_run_checkers(ana::logger*) /var/tmp/portage/sys-devel/gcc-13.0.0_p20220522/work/gcc-13-20220522/gcc/analyzer/engine.cc:5811 0x12939ce ana::run_checkers() /var/tmp/portage/sys-devel/gcc-13.0.0_p20220522/work/gcc-13-20220522/gcc/analyzer/engine.cc:5885 0x1282358 execute /var/tmp/portage/sys-devel/gcc-13.0.0_p20220522/work/gcc-13-20220522/gcc/analyzer/analyzer-pass.cc:87
next reply other threads:[~2022-05-29 5:18 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-05-29 5:18 asolokha at gmx dot com [this message] 2022-05-29 13:07 ` [Bug analyzer/105765] " asolokha at gmx dot com 2022-05-30 9:26 ` rguenth at gcc dot gnu.org 2022-05-30 10:09 ` [Bug analyzer/105765] [13 Regression] ICE: Segmentation fault (in ana::region_model::deref_rvalue) since r13-514-g2402dc6b982c4dac marxin at gcc dot gnu.org 2022-10-19 10:13 ` rguenth at gcc dot gnu.org 2022-10-19 13:45 ` [Bug analyzer/105765] [13 Regression] ICE: Segmentation fault on __builtin_ms_va_copy with -fanalyzer " dmalcolm at gcc dot gnu.org 2022-10-19 20:50 ` cvs-commit at gcc dot gnu.org 2022-10-19 20:53 ` dmalcolm 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-105765-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).