public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/93924] ICE in gfc_class_len_get at trans_expr.c:231 with function returning a procedure pointer
Date: Sat, 25 Apr 2020 15:59:24 +0000	[thread overview]
Message-ID: <bug-93924-4-Tx5hvyseKI@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-93924-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93924

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Up to revion r242391 I get the error:

    function selector() result(f)
                                1
Error: CLASS variable 'f' at (1) must be dummy, allocatable or pointer
pr93924.f90:29:19:

    function apply(f, x) result(y)
                   1
Error: CLASS variable 'f' at (1) must be dummy, allocatable or pointer
pr93924.f90:51:4:

 use cs
    1
Fatal Error: Can't open module file 'cs.mod' for reading at (1): No such file
or directory
compilation terminated.

I see the ICE at revision r242749.

  parent reply	other threads:[~2020-04-25 15:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-93924-4@http.gcc.gnu.org/bugzilla/>
2020-04-25 12:18 ` tkoenig at gcc dot gnu.org
2020-04-25 15:59 ` dominiq at lps dot ens.fr [this message]
2021-01-26  7:16 ` mscfd at gmx dot net
2021-01-26  7:19 ` mscfd at gmx dot net
2021-01-26  8:21 ` tkoenig at gcc dot gnu.org
2021-01-26  8:23 ` tkoenig at gcc dot gnu.org
2021-01-26  9:02 ` [Bug fortran/93924] [OOP] segfault with function returning a CLASS(*) pointer mscfd at gmx dot net
2021-01-26  9:03 ` [Bug fortran/93924] [OOP] ICE with procedure pointer tkoenig at gcc dot gnu.org
2021-01-26 12:44 ` pault at gcc dot gnu.org
2021-01-26 15:17 ` pault at gcc dot gnu.org
2021-01-27 11:07 ` pault at gcc dot gnu.org
2021-01-27 11:34 ` cvs-commit at gcc dot gnu.org
2021-05-04 12:31 ` rguenth at gcc dot gnu.org
2021-08-28 19:57 ` cvs-commit at gcc dot gnu.org
2021-09-06 18:43 ` cvs-commit at gcc dot gnu.org
2021-09-06 18:47 ` 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-93924-4-Tx5hvyseKI@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: link
Be 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).