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/95827] New: ICE in gfc_get_string, at fortran/iresolve.c:70 Date: Mon, 22 Jun 2020 20:20:08 +0000 [thread overview] Message-ID: <bug-95827-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95827 Bug ID: 95827 Summary: ICE in gfc_get_string, at fortran/iresolve.c:70 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Happens between name length 59 (ok) and 60 (ICE) : $ cat z1_59.f90 module m2345678901234567890123456789012345678901234567890123456789 interface module subroutine s2345678901234567890123456789012345678901234567890123456789 end end interface end submodule(m2345678901234567890123456789012345678901234567890123456789) & n2345678901234567890123456789012345678901234567890123456789 integer :: x2345678901234567890123456789012345678901234567890123456789[*] end $ cat z1_60.f90 module m23456789012345678901234567890123456789012345678901234567890 interface module subroutine s23456789012345678901234567890123456789012345678901234567890 end end interface end submodule(m23456789012345678901234567890123456789012345678901234567890) & n23456789012345678901234567890123456789012345678901234567890 integer :: x23456789012345678901234567890123456789012345678901234567890[*] end $ cat z1_63.f90 module m23456789012345678901234567890123456789012345678901234567890123 interface module subroutine s23456789012345678901234567890123456789012345678901234567890123 end end interface end submodule(m23456789012345678901234567890123456789012345678901234567890123) & n23456789012345678901234567890123456789012345678901234567890123 integer :: x23456789012345678901234567890123456789012345678901234567890123[*] end $ gfortran-11-20200621 -c z1_59.f90 -fcoarray=lib $ $ gfortran-11-20200621 -c z1_60.f90 -fcoarray=lib f951: internal compiler error: identifier overflow: 200 0x695169 gfc_report_diagnostic ../../gcc/fortran/error.c:782 0x69688a gfc_internal_error(char const*, ...) ../../gcc/fortran/error.c:1402 0x6be1d7 gfc_get_string(char const*, ...) ../../gcc/fortran/iresolve.c:70 0x773c16 gfc_build_qualified_array ../../gcc/fortran/trans-decl.c:994 0x7761bc gfc_get_symbol_decl(gfc_symbol*) ../../gcc/fortran/trans-decl.c:1795 0x77a340 gfc_create_module_variable ../../gcc/fortran/trans-decl.c:5302 0x72ab12 do_traverse_symtree ../../gcc/fortran/symbol.c:4162 0x77ae1b gfc_generate_module_vars(gfc_namespace*) ../../gcc/fortran/trans-decl.c:5801 0x748fc1 gfc_generate_module_code(gfc_namespace*) ../../gcc/fortran/trans.c:2238 0x6f3831 translate_all_program_units ../../gcc/fortran/parse.c:6294 0x6f3831 gfc_parse_file() ../../gcc/fortran/parse.c:6546 0x74021f gfc_be_parse_file ../../gcc/fortran/f95-lang.c:212
next reply other threads:[~2020-06-22 20:20 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-06-22 20:20 gscfq@t-online.de [this message] 2020-06-22 21:08 ` [Bug fortran/95827] " anlauf at gcc dot gnu.org 2020-06-23 21:11 ` anlauf at gcc dot gnu.org 2020-06-24 19:04 ` cvs-commit at gcc dot gnu.org 2020-06-25 19:34 ` cvs-commit at gcc dot gnu.org 2020-06-26 19:12 ` 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-95827-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).