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/101101] New: ICE in gfc_build_array_type, at fortran/trans-types.c:1391 Date: Wed, 16 Jun 2021 17:23:41 +0000 [thread overview] Message-ID: <bug-101101-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101101 Bug ID: 101101 Summary: ICE in gfc_build_array_type, at fortran/trans-types.c:1391 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: --- Test case in addition to pr99138, pr99254 and pr99266, affects versions down to at least r5 : $ cat z1.f90 subroutine s(x) type t end type class(t) :: x dimension :: x(:) end $ gfortran-12-20210613 -c z1.f90 z1.f90:1:12: 1 | subroutine s(x) | 1 internal compiler error: Segmentation fault 0xc7bfff crash_signal ../../gcc/toplev.c:327 0x82022a gfc_build_array_type ../../gcc/fortran/trans-types.c:1391 0x82222e gfc_get_derived_type(gfc_symbol*, int) ../../gcc/fortran/trans-types.c:2791 0x8229d8 gfc_typenode_for_spec(gfc_typespec*, int) ../../gcc/fortran/trans-types.c:1170 0x822c2e gfc_sym_type(gfc_symbol*) ../../gcc/fortran/trans-types.c:2281 0x821174 gfc_get_function_type(gfc_symbol*, gfc_actual_arglist*, char const*) ../../gcc/fortran/trans-types.c:3126 0x7bac44 build_function_decl ../../gcc/fortran/trans-decl.c:2386 0x7c0836 gfc_create_function_decl(gfc_namespace*, bool) ../../gcc/fortran/trans-decl.c:3085 0x7c6e26 gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:6787 0x74c876 translate_all_program_units ../../gcc/fortran/parse.c:6461 0x74c876 gfc_parse_file() ../../gcc/fortran/parse.c:6730 0x798bbf gfc_be_parse_file ../../gcc/fortran/f95-lang.c:212
next reply other threads:[~2021-06-16 17:23 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-06-16 17:23 gscfq@t-online.de [this message] 2021-07-29 20:07 ` [Bug fortran/101101] " anlauf at gcc dot gnu.org 2022-01-26 17:23 ` gscfq@t-online.de 2023-03-06 17:15 ` anlauf 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-101101-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).