public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/104127] New: [9/10/11/12 Regression] ICE in get_array_charlen, at fortran/trans-array.c:7244
@ 2022-01-19 18:46 gscfq@t-online.de
  2022-01-19 19:24 ` [Bug fortran/104127] " anlauf at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: gscfq@t-online.de @ 2022-01-19 18:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104127
           Summary: [9/10/11/12 Regression] ICE in get_array_charlen, at
                    fortran/trans-array.c:7244
           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: ---

Started between 20190310 and 20190331 :


$ cat z1.f90
program p
   call sub (transfer(4_'abcd', 4_'xy', size=0))
end


$ gfortran-8 -c z1.f90
$
$ gfortran-12-20220116 -c z1.f90
z1.f90:2:48:

    2 |    call sub (transfer(4_'abcd', 4_'xy', size=0))
      |                                                1
internal compiler error: Segmentation fault
0xcc359f crash_signal
        ../../gcc/toplev.c:322
0x7b5564 get_array_charlen
        ../../gcc/fortran/trans-array.c:7244
0x7b4a66 gfc_conv_expr_descriptor(gfc_se*, gfc_expr*)
        ../../gcc/fortran/trans-array.c:7680
0x7ba8eb gfc_conv_array_parameter(gfc_se*, gfc_expr*, bool, gfc_symbol const*,
char const*, tree_node**)
        ../../gcc/fortran/trans-array.c:8370
0x7df1d9 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:6860
0x81d120 gfc_trans_call(gfc_code*, bool, tree_node*, tree_node*, bool)
        ../../gcc/fortran/trans-stmt.c:422
0x7a55f8 trans_code
        ../../gcc/fortran/trans.c:1984
0x7ce56e gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:7651
0x7513ce translate_all_program_units
        ../../gcc/fortran/parse.c:6651
0x7513ce gfc_parse_file()
        ../../gcc/fortran/parse.c:6938
0x79e33f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:216

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-01-29 23:17 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-19 18:46 [Bug fortran/104127] New: [9/10/11/12 Regression] ICE in get_array_charlen, at fortran/trans-array.c:7244 gscfq@t-online.de
2022-01-19 19:24 ` [Bug fortran/104127] " anlauf at gcc dot gnu.org
2022-01-19 19:49 ` anlauf at gcc dot gnu.org
2022-01-19 20:43 ` anlauf at gcc dot gnu.org
2022-01-20  7:56 ` rguenth at gcc dot gnu.org
2022-01-20 10:16 ` marxin at gcc dot gnu.org
2022-01-20 21:49 ` anlauf at gcc dot gnu.org
2022-01-22 15:09 ` cvs-commit at gcc dot gnu.org
2022-01-26 18:16 ` cvs-commit at gcc dot gnu.org
2022-01-29 22:06 ` cvs-commit at gcc dot gnu.org
2022-01-29 22:33 ` [Bug fortran/104127] [9 " anlauf at gcc dot gnu.org
2022-01-29 23:14 ` cvs-commit at gcc dot gnu.org
2022-01-29 23:17 ` anlauf at gcc dot gnu.org

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).