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/97668] New: [11 Regression] ICE in cmp_cst, at analyzer/svalue.cc:283 Date: Mon, 02 Nov 2020 06:38:30 +0000 [thread overview] Message-ID: <bug-97668-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97668 Bug ID: 97668 Summary: [11 Regression] ICE in cmp_cst, at analyzer/svalue.cc:283 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: --- Created attachment 49484 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49484&action=edit Testcase gfortran-11.0.0-alpha20201101 snapshot (g:590febb5f6624f78b36402a7c9a9c318978f1efa) ICEs when compiling the attached testcase w/ -O1 -fanalyzer: % powerpc-e300c3-linux-gnu-gfortran-11.0.0 -std=legacy -O1 -fanalyzer -c d9xjyayq.f during IPA pass: analyzer d9xjyayq.f:6:16: 6 | DO 136 IG=IS,1 | ^ internal compiler error: in cmp_cst, at analyzer/svalue.cc:283 0x71ef8e cmp_cst /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201101/work/gcc-11-20201101/gcc/analyzer/svalue.cc:283 0x18aca58 cmp1<sort_ctx> /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201101/work/gcc-11-20201101/gcc/sort.cc:153 0x18acab4 netsort<sort_ctx> /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201101/work/gcc-11-20201101/gcc/sort.cc:170 0x18acab4 mergesort<sort_ctx> /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201101/work/gcc-11-20201101/gcc/sort.cc:207 0x18ad0f2 gcc_qsort(void*, unsigned long, unsigned long, int (*)(void const*, void const*)) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201101/work/gcc-11-20201101/gcc/sort.cc:266 0x183636a ana::constraint_manager::canonicalize() /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201101/work/gcc-11-20201101/gcc/analyzer/constraint-manager.cc:1713 0x1211e95 ana::program_state::prune_for_point(ana::exploded_graph&, ana::program_point const&, ana::exploded_node const*) const /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201101/work/gcc-11-20201101/gcc/analyzer/program-state.cc:1049 0x11fcf02 ana::exploded_graph::get_or_create_node(ana::program_point const&, ana::program_state const&, ana::exploded_node const*) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201101/work/gcc-11-20201101/gcc/analyzer/engine.cc:2045 0x11ffae4 ana::exploded_graph::process_node(ana::exploded_node*) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201101/work/gcc-11-20201101/gcc/analyzer/engine.cc:2850 0x1200672 ana::exploded_graph::process_worklist() /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201101/work/gcc-11-20201101/gcc/analyzer/engine.cc:2523 0x120282b ana::impl_run_checkers(ana::logger*) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201101/work/gcc-11-20201101/gcc/analyzer/engine.cc:4658 0x1203721 ana::run_checkers() /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201101/work/gcc-11-20201101/gcc/analyzer/engine.cc:4729 0x11f6748 execute /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201101/work/gcc-11-20201101/gcc/analyzer/analyzer-pass.cc:84 (While my target here is powerpc, the ICE should not be target-specific.)
next reply other threads:[~2020-11-02 6:38 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-11-02 6:38 asolokha at gmx dot com [this message] 2020-11-02 7:52 ` [Bug analyzer/97668] " rguenth at gcc dot gnu.org 2020-11-02 8:35 ` marxin at gcc dot gnu.org 2020-11-04 18:51 ` asolokha at gmx dot com 2020-11-04 19:17 ` dmalcolm at gcc dot gnu.org 2020-11-05 14:55 ` cvs-commit at gcc dot gnu.org 2020-11-05 15:14 ` 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-97668-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).