public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "aldot at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/103112] New: ICE in gfc_get_descriptor_field for gfortran.dg/coarray_alloc_comp_4.f08 caf single Date: Sat, 06 Nov 2021 21:24:14 +0000 [thread overview] Message-ID: <bug-103112-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103112 Bug ID: 103112 Summary: ICE in gfc_get_descriptor_field for gfortran.dg/coarray_alloc_comp_4.f08 caf single Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: aldot at gcc dot gnu.org Target Milestone: --- gfortran.dg/coarray_alloc_comp_4.f08 compiles fine with -fcoarray=lib but ICEs with -fcoarray=single in pristine trunk $ gfortran -O2 -fcoarray=single -g -g3 -ggdb3 -fdump-tree-original -fdump-tree-optimized coarray_alloc_comp_4.f08 -c; echo $? coarray_alloc_comp_4.f08:38:22: 38 | deallocate(obj%link) | 1 internal compiler error: in gfc_get_descriptor_field, at fortran/trans-array.c:245 0x67b8e8 gfc_get_descriptor_field ../../../src/gcc-12.orig/gcc/fortran/trans-array.c:245 0x97d53a gfc_conv_descriptor_data_get(tree_node*) ../../../src/gcc-12.orig/gcc/fortran/trans-array.c:264 0x97aa64 gfc_deallocate_with_status(tree_node*, tree_node*, tree_node*, tree_node*, tree_node*, bool, gfc_expr*, int, tree_node*, tree_node*) ../../../src/gcc-12.orig/gcc/fortran/trans.c:1427 0x98e539 structure_alloc_comps ../../../src/gcc-12.orig/gcc/fortran/trans-array.c:9291 0x9904da gfc_deallocate_alloc_comp(gfc_symbol*, tree_node*, int, int) ../../../src/gcc-12.orig/gcc/fortran/trans-array.c:10081 0x97b196 gfc_deallocate_scalar_with_status(tree_node*, tree_node*, tree_node*, bool, gfc_expr*, gfc_typespec, bool) ../../../src/gcc-12.orig/gcc/fortran/trans.c:1646 0xa1189d gfc_trans_deallocate(gfc_code*) ../../../src/gcc-12.orig/gcc/fortran/trans-stmt.c:7380 0x977597 trans_code ../../../src/gcc-12.orig/gcc/fortran/trans.c:2092 0x9a9c2f gfc_generate_function_code(gfc_namespace*) ../../../src/gcc-12.orig/gcc/fortran/trans-decl.c:7666 0x9220ee translate_all_program_units ../../../src/gcc-12.orig/gcc/fortran/parse.c:6629 0x9220ee gfc_parse_file() ../../../src/gcc-12.orig/gcc/fortran/parse.c:6916 0x97434f gfc_be_parse_file ../../../src/gcc-12.orig/gcc/fortran/f95-lang.c:216 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. 1 $ gfortran --version GNU Fortran (GCC) 12.0.0 20211105 (experimental) [master r12-4967-gbcf3728abe8]
next reply other threads:[~2021-11-06 21:24 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-11-06 21:24 aldot at gcc dot gnu.org [this message] 2021-11-06 22:11 ` [Bug fortran/103112] " anlauf at gcc dot gnu.org 2021-11-08 8:34 ` [Bug fortran/103112] ICE in gfc_get_descriptor_field for gfortran.dg/coarray_alloc_comp_4.f08 caf single since r7-5771-gde91486c745d5ff6 marxin at gcc dot gnu.org 2024-06-12 7:32 ` vehre at gcc dot gnu.org 2024-06-17 7:50 ` cvs-commit 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-103112-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).