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/102503] New: ICE in gfc_conv_array_bound, at fortran/trans-types.c:1224 Date: Mon, 27 Sep 2021 19:46:16 +0000 [thread overview] Message-ID: <bug-102503-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102503 Bug ID: 102503 Summary: ICE in gfc_conv_array_bound, at fortran/trans-types.c:1224 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 : (rejected with attribute allocatable/pointer) $ cat z1.f90 subroutine s(x) class(*) :: x(..)[*] end $ cat z2.f90 program p type t end type contains subroutine s(x) class(t) :: x(..)[*] end end $ gfortran-12-20210926 -c z1.f90 -fcoarray=lib z1.f90:1:12: 1 | subroutine s(x) | 1 internal compiler error: Segmentation fault 0xd400cf crash_signal ../../gcc/toplev.c:328 0x8cb54b gfc_conv_array_bound ../../gcc/fortran/trans-types.c:1224 0x8cb54b gfc_build_array_type ../../gcc/fortran/trans-types.c:1425 0x8cd5de gfc_get_derived_type(gfc_symbol*, int) ../../gcc/fortran/trans-types.c:2799 0x8cdd98 gfc_typenode_for_spec(gfc_typespec*, int) ../../gcc/fortran/trans-types.c:1178 0x8cdfee gfc_sym_type(gfc_symbol*) ../../gcc/fortran/trans-types.c:2289 0x8cc524 gfc_get_function_type(gfc_symbol*, gfc_actual_arglist*, char const*) ../../gcc/fortran/trans-types.c:3134 0x864ea4 build_function_decl ../../gcc/fortran/trans-decl.c:2406 0x86ab16 gfc_create_function_decl(gfc_namespace*, bool) ../../gcc/fortran/trans-decl.c:3105 0x871176 gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:6813 0x7f6646 translate_all_program_units ../../gcc/fortran/parse.c:6572 0x7f6646 gfc_parse_file() ../../gcc/fortran/parse.c:6841 0x842daf gfc_be_parse_file ../../gcc/fortran/f95-lang.c:216
next reply other threads:[~2021-09-27 19:46 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-09-27 19:46 gscfq@t-online.de [this message] 2021-10-22 12:12 ` [Bug fortran/102503] " dominiq at lps dot ens.fr 2021-10-22 16:00 ` burnus 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-102503-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).