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/105184] New: ICE in gfc_array_init_size, at fortran/trans-array.cc:5841 Date: Wed, 06 Apr 2022 18:20:59 +0000 [thread overview] Message-ID: <bug-105184-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105184 Bug ID: 105184 Summary: ICE in gfc_array_init_size, at fortran/trans-array.cc:5841 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: --- Affects versions down to at least r5 : $ cat z1.f90 program p real, allocatable :: x[:,:] integer :: n = 2 allocate (x[::n, *]) end $ gfortran-12-20220403 -c z1.f90 -fcoarray=single z1.f90:4:23: 4 | allocate (x[::n, *]) | 1 internal compiler error: in gfc_array_init_size, at fortran/trans-array.cc:5841 0x7b4647 gfc_array_init_size ../../gcc/fortran/trans-array.cc:5841 0x7b4647 gfc_array_allocate(gfc_se*, gfc_expr*, tree_node*, tree_node*, tree_node*, tree_node*, tree_node*, tree_node**, gfc_expr*, tree_node*, bool) ../../gcc/fortran/trans-array.cc:6119 0x829de6 gfc_trans_allocate(gfc_code*) ../../gcc/fortran/trans-stmt.cc:6741 0x7ab8c7 trans_code ../../gcc/fortran/trans.cc:2088 0x7d4b7e gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.cc:7654 0x75734e translate_all_program_units ../../gcc/fortran/parse.cc:6669 0x75734e gfc_parse_file() ../../gcc/fortran/parse.cc:6956 0x7a47df gfc_be_parse_file ../../gcc/fortran/f95-lang.cc:216
next reply other threads:[~2022-04-06 18:20 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-04-06 18:20 gscfq@t-online.de [this message] 2022-04-06 18:21 ` [Bug fortran/105184] " gscfq@t-online.de 2022-04-06 19:09 ` anlauf at gcc dot gnu.org 2022-04-06 20:03 ` anlauf at gcc dot gnu.org 2022-04-06 20:40 ` anlauf at gcc dot gnu.org 2022-04-10 18:28 ` cvs-commit at gcc dot gnu.org 2022-04-10 18:34 ` anlauf at gcc dot gnu.org 2022-04-12 17:23 ` gscfq@t-online.de
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-105184-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).