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/102311] New: [11/12 Regression] ICE in gfc_enforce_clean_symbol_state, at fortran/symbol.c:4278 Date: Mon, 13 Sep 2021 17:26:21 +0000 [thread overview] Message-ID: <bug-102311-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102311 Bug ID: 102311 Summary: [11/12 Regression] ICE in gfc_enforce_clean_symbol_state, at fortran/symbol.c:4278 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: --- Changed between 20210822 and 20210905 : (gcc configured with --enable-checking=yes) $ cat z1.f90 module m contains function f() character(:), allocatable :: f character(1) :: g entry g() end end $ cat z2.f90 module m contains function f() character(:), allocatable :: f character(1) :: g f = 'f' entry g() g = 'g' end end $ gfortran-12-20210822 -c z1.f90 z1.f90:8:3: 8 | end | 1 Error: Entity 'master.0.f' at (1) has a deferred type parameter and requires either the POINTER or ALLOCATABLE attribute $ gfortran-12-20210905 -c z1.f90 z1.f90:3:3: 3 | function f() | 1 Error: Function f at (1) has entry g with mismatched characteristics z1.f90:3:3: 3 | function f() | 1 Error: Function f at (1) has entry g with mismatched characteristics f951: internal compiler error: in gfc_enforce_clean_symbol_state, at fortran/symbol.c:4278 0x8422f0 gfc_enforce_clean_symbol_state() ../../gcc/fortran/symbol.c:4278 0x7fd9bc next_statement ../../gcc/fortran/parse.c:1589 0x8034e4 gfc_parse_file() ../../gcc/fortran/parse.c:6638 0x8510ff gfc_be_parse_file ../../gcc/fortran/f95-lang.c:216
next reply other threads:[~2021-09-13 17:26 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-09-13 17:26 gscfq@t-online.de [this message] 2021-09-13 18:54 ` [Bug fortran/102311] " anlauf at gcc dot gnu.org 2021-09-13 19:13 ` anlauf at gcc dot gnu.org 2021-09-14 6:55 ` rguenth at gcc dot gnu.org 2021-09-14 7:21 ` marxin at gcc dot gnu.org 2021-09-14 7:40 ` anlauf at gcc dot gnu.org 2021-09-14 18:23 ` cvs-commit at gcc dot gnu.org 2021-09-14 18:55 ` anlauf at gcc dot gnu.org 2021-09-19 19:19 ` cvs-commit at gcc dot gnu.org 2021-09-19 19:28 ` 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-102311-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).