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/104351] ICE in gfc_generate_initializer, at fortran/expr.cc:5140 Date: Wed, 02 Feb 2022 18:45:59 +0000 [thread overview] Message-ID: <bug-104351-4-4xlZhdVF19@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-104351-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104351 G. Steinmetz <gscfq@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code --- Comment #1 from G. Steinmetz <gscfq@t-online.de> --- Without a result-name : $ cat z2.f90 program p implicit none type t end type type(t) :: f contains real function f() f = 0.0 end end $ gfortran-12-20220130 -c z2.f90 z2.f90:7:20: 7 | real function f() | 1 Error: Symbol 'f' at (1) already has basic type of DERIVED z2.f90:8:8: 8 | f = 0.0 | 1 Error: Symbol 'f' at (1) has already been host associated z2.f90:1:9: 1 | program p | 1 ...... 10 | end | 2 Error: Two main PROGRAMs at (1) and (2)
next prev parent reply other threads:[~2022-02-02 18:45 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-02-02 18:45 [Bug fortran/104351] New: " gscfq@t-online.de 2022-02-02 18:45 ` gscfq@t-online.de [this message] 2023-10-10 21:02 ` [Bug fortran/104351] " anlauf at gcc dot gnu.org 2023-10-11 19:41 ` anlauf at gcc dot gnu.org 2023-10-13 20:08 ` cvs-commit at gcc dot gnu.org 2023-10-14 20:02 ` 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-104351-4-4xlZhdVF19@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).