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/103366] New: [12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.c:5647
Date: Mon, 22 Nov 2021 19:38:18 +0000	[thread overview]
Message-ID: <bug-103366-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 103366
           Summary: [12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc,
                    at fortran/trans-expr.c:5647
           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: ---

This changed between 20211017 and 20211024 :


$ cat z1.f90
program p
contains
   subroutine s(x) bind(c)
      type(*) :: x(..)
   end
   subroutine u(x)
      class(*) :: x(..)
      call s(x)
   end
end


$ gfortran-12-20211017 -c z1.f90
$
$ gfortran-12-20211121 -c z1.f90
z1.f90:8:15:

    8 |       call s(x)
      |               1
internal compiler error: in gfc_conv_gfc_desc_to_cfi_desc, at
fortran/trans-expr.c:5647
0x886d7e gfc_conv_gfc_desc_to_cfi_desc
        ../../gcc/fortran/trans-expr.c:5647
0x88bf87 gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*,
gfc_expr*, vec<tree_node*, va_gc, vl_embed>*)
        ../../gcc/fortran/trans-expr.c:6802
0x8c6f90 gfc_trans_call(gfc_code*, bool, tree_node*, tree_node*, bool)
        ../../gcc/fortran/trans-stmt.c:422
0x84fb38 trans_code
        ../../gcc/fortran/trans.c:1984
0x8789fe gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:7644
0x87882c gfc_generate_contained_functions
        ../../gcc/fortran/trans-decl.c:5772
0x87882c gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:7576
0x7fbd3e translate_all_program_units
        ../../gcc/fortran/parse.c:6638
0x7fbd3e gfc_parse_file()
        ../../gcc/fortran/parse.c:6925
0x848a6f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:216

             reply	other threads:[~2021-11-22 19:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-22 19:38 gscfq@t-online.de [this message]
2021-11-23  7:33 ` [Bug fortran/103366] " rguenth at gcc dot gnu.org
2021-11-23  7:56 ` marxin at gcc dot gnu.org
2021-11-23  8:01 ` pinskia at gcc dot gnu.org
2021-11-23  8:10 ` marxin at gcc dot gnu.org
2021-11-23  8:12 ` [Bug fortran/103366] [9/10/11/12 " pinskia at gcc dot gnu.org
2022-01-03  9:15 ` pault at gcc dot gnu.org
2022-01-03 11:55 ` pault at gcc dot gnu.org
2022-01-03 12:33 ` pault at gcc dot gnu.org
2022-01-06  1:07 ` sandra at gcc dot gnu.org
2022-01-10 16:55 ` cvs-commit at gcc dot gnu.org
2022-05-27  9:46 ` [Bug fortran/103366] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:47 ` jakub at gcc dot gnu.org
2022-07-13 19:16 ` anlauf at gcc dot gnu.org
2023-04-19  9:19 ` [Bug fortran/103366] [10/11/12/13/14 " pault 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-103366-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).