public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/103691] New: [12 Regression] ICE in get_array_ctor_element_at_index, at fold-const.c:13314 Date: Mon, 13 Dec 2021 19:51:45 +0000 [thread overview] Message-ID: <bug-103691-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103691 Bug ID: 103691 Summary: [12 Regression] ICE in get_array_ctor_element_at_index, at fold-const.c:13314 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Changed between 20211024 and 20211031 at -O2+ : (gcc configured with --enable-checking=yes) $ cat z1.f90 program p real, parameter :: a(0) = 2.0 real, allocatable :: b(:) allocate (b, mold=a) end $ gfortran-12-20211024 -c z1.f90 -g -O2 $ $ gfortran-12-20211212 -c z1.f90 -g -O2 during GIMPLE pass: evrp z1.f90:5:3: 5 | end | ^ internal compiler error: in get_array_ctor_element_at_index, at fold-const.c:13314 0xb27c33 get_array_ctor_element_at_index(tree_node*, generic_wide_int<fixed_wide_int_storage<128> >, unsigned int*) ../../gcc/fold-const.c:13314 0xb9ee55 fold_array_ctor_reference ../../gcc/gimple-fold.c:7862 0xb9ee55 fold_ctor_reference(tree_node*, tree_node*, poly_int<1u, unsigned long> const&, poly_int<1u, unsigned long> const&, tree_node*, unsigned long*) ../../gcc/gimple-fold.c:8061 0xba1e18 fold_const_aggregate_ref_1(tree_node*, tree_node* (*)(tree_node*)) ../../gcc/gimple-fold.c:8186 0xba39f8 fold_const_aggregate_ref(tree_node*) ../../gcc/gimple-fold.c:8265 0xba39f8 maybe_fold_reference ../../gcc/gimple-fold.c:337 0xbaaa68 fold_stmt_1 ../../gcc/gimple-fold.c:6301 0x1bbc20c gimple_ranger::fold_stmt(gimple_stmt_iterator*, tree_node* (*)(tree_node*)) ../../gcc/gimple-range.cc:434 0x11138c6 substitute_and_fold_dom_walker::before_dom_children(basic_block_def*) ../../gcc/tree-ssa-propagate.c:870 0x1b82907 dom_walker::walk(basic_block_def*) ../../gcc/domwalk.c:309 0x1112945 substitute_and_fold_engine::substitute_and_fold(basic_block_def*) ../../gcc/tree-ssa-propagate.c:987 0x12217bd execute_ranger_vrp(function*, bool) ../../gcc/tree-vrp.c:4337 0x1bd658d execute_early_vrp ../../gcc/gimple-ssa-evrp.c:316
next reply other threads:[~2021-12-13 19:51 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-12-13 19:51 gscfq@t-online.de [this message] 2021-12-14 10:05 ` [Bug fortran/103691] [12 Regression] ICE in get_array_ctor_element_at_index, at fold-const.c:13314 since r12-4694-gcb153222404e2e14 marxin at gcc dot gnu.org 2021-12-14 15:43 ` amacleod at redhat dot com 2022-01-04 11:07 ` rguenth at gcc dot gnu.org 2022-01-04 11:32 ` jakub at gcc dot gnu.org 2022-01-04 12:26 ` rguenth at gcc dot gnu.org 2022-01-04 12:28 ` jakub at gcc dot gnu.org 2022-01-05 9:46 ` cvs-commit at gcc dot gnu.org 2022-01-05 9:49 ` jakub at gcc dot gnu.org 2022-03-24 15:23 ` jakub at gcc dot gnu.org 2022-03-25 10:23 ` cvs-commit at gcc dot gnu.org 2022-03-25 10:23 ` jakub 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-103691-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).