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/99817] New: [10/11 Regression] ICE in create_function_arglist, at fortran/trans-decl.c:2838 (etc.)
Date: Mon, 29 Mar 2021 19:29:06 +0000	[thread overview]
Message-ID: <bug-99817-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 99817
           Summary: [10/11 Regression] ICE in create_function_arglist, at
                    fortran/trans-decl.c:2838 (etc.)
           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: ---

Changed between 20210314 and 20210328 :


$ cat z1.f90
subroutine s1 (x)
   character(*) :: x(*)[*]
end


$ cat z2.f90
subroutine s2 (x)
   character(*), dimension(*), codimension[*] :: x
   integer :: i
   i = len(x)
end


$ gfortran-11-20210314 -c z1.f90 -fcoarray=lib
$ gfortran-11-20210314 -c z1.f90 -fcoarray=single
$ gfortran-11-20210328 -c z1.f90 -fcoarray=single
$
$ gfortran-11-20210328 -c z1.f90 -fcoarray=lib
z1.f90:1:13:

    1 | subroutine s1 (x)
      |             1
internal compiler error: Segmentation fault
0xc09d4f crash_signal
        ../../gcc/toplev.c:327
0x754ed9 create_function_arglist
        ../../gcc/fortran/trans-decl.c:2838
0x75a153 gfc_create_function_decl(gfc_namespace*, bool)
        ../../gcc/fortran/trans-decl.c:3089
0x7603b6 gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:6778
0x6e5de6 translate_all_program_units
        ../../gcc/fortran/parse.c:6351
0x6e5de6 gfc_parse_file()
        ../../gcc/fortran/parse.c:6620
0x7320ef gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:212

             reply	other threads:[~2021-03-29 19:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-29 19:29 gscfq@t-online.de [this message]
2021-03-29 19:29 ` [Bug fortran/99817] " gscfq@t-online.de
2021-03-29 20:12 ` dominiq at lps dot ens.fr
2021-03-30 13:08 ` rguenth at gcc dot gnu.org
2021-03-30 19:32 ` anlauf at gcc dot gnu.org
2021-04-08 12:02 ` rguenth at gcc dot gnu.org
2021-04-09  8:42 ` cvs-commit at gcc dot gnu.org
2021-04-12 11:02 ` cvs-commit at gcc dot gnu.org
2021-04-12 11:04 ` burnus 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-99817-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: 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).