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/104555] New: ICE in gfc_compare_derived_types, at fortran/interface.cc:628 Date: Tue, 15 Feb 2022 19:40:37 +0000 [thread overview] Message-ID: <bug-104555-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104555 Bug ID: 104555 Summary: ICE in gfc_compare_derived_types, at fortran/interface.cc:628 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: --- Starts with r10, changed between 20190825 and 20190901 : $ cat z1.f90 program p type t character(:), allocatable :: a end type contains subroutine s(x) class(t) :: x(..) select rank (x) rank (1) select type (y => x) type is (t) end select end select end end $ gfortran-12-20220213 -c z1.f90 f951: internal compiler error: Segmentation fault 0xcc8a9f crash_signal ../../gcc/toplev.cc:322 0x6fbdbc gfc_compare_derived_types(gfc_symbol*, gfc_symbol*) ../../gcc/fortran/interface.cc:628 0x792efe gfc_type_is_extension_of(gfc_symbol*, gfc_symbol*) ../../gcc/fortran/symbol.cc:5116 0x77373c resolve_select_type ../../gcc/fortran/resolve.cc:9451 0x768b23 gfc_resolve_code(gfc_code*, gfc_namespace*) ../../gcc/fortran/resolve.cc:12173 0x76ab87 resolve_codes ../../gcc/fortran/resolve.cc:17536 0x76ac4e gfc_resolve(gfc_namespace*) ../../gcc/fortran/resolve.cc:17571 0x768c99 gfc_resolve(gfc_namespace*) ../../gcc/fortran/resolve.cc:17556 0x768c99 resolve_block_construct ../../gcc/fortran/resolve.cc:10791 0x768c99 gfc_resolve_code(gfc_code*, gfc_namespace*) ../../gcc/fortran/resolve.cc:12181 0x767eef gfc_resolve_blocks(gfc_code*, gfc_namespace*) ../../gcc/fortran/resolve.cc:10943 0x769edf resolve_select_rank ../../gcc/fortran/resolve.cc:9953 0x769edf gfc_resolve_code(gfc_code*, gfc_namespace*) ../../gcc/fortran/resolve.cc:12177 0x76ab87 resolve_codes ../../gcc/fortran/resolve.cc:17536 0x76aabe resolve_codes ../../gcc/fortran/resolve.cc:17519 0x76ac4e gfc_resolve(gfc_namespace*) ../../gcc/fortran/resolve.cc:17571 0x752f74 resolve_all_program_units ../../gcc/fortran/parse.cc:6586 0x752f74 gfc_parse_file() ../../gcc/fortran/parse.cc:6842 0x7a066f gfc_be_parse_file ../../gcc/fortran/f95-lang.cc:216
next reply other threads:[~2022-02-15 19:40 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-02-15 19:40 gscfq@t-online.de [this message] 2022-02-15 19:41 ` [Bug fortran/104555] " gscfq@t-online.de 2022-02-24 11:23 ` [Bug fortran/104555] ICE in gfc_compare_derived_types, at fortran/interface.cc:628 since r10-2912-g70570ec192745095 marxin at gcc dot gnu.org 2023-10-27 19:39 ` anlauf at gcc dot gnu.org 2023-10-30 7:13 ` cvs-commit at gcc dot gnu.org 2023-10-30 8:25 ` pault 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-104555-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).