public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/107576] New: [10/11/12/13 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.cc:6193
@ 2022-11-08 17:27 gscfq@t-online.de
  2022-11-08 17:28 ` [Bug fortran/107576] " gscfq@t-online.de
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: gscfq@t-online.de @ 2022-11-08 17:27 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 107576
           Summary: [10/11/12/13 Regression] ICE in
                    gfc_conv_procedure_call, at fortran/trans-expr.cc:6193
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started with r7 :


$ cat z1.f90
program p
   integer, pointer :: z(:) => null()
   call s(z)
   call s(null(z))
end


$ gfortran-6 -c z1.f90 -std=legacy
$
$ gfortran-13-20221106 -c z1.f90 -std=legacy
z1.f90:4:18:

    4 |    call s(null(z))
      |                  1
Warning: Unexpected NULL() intrinsic at (1) to dummy '_formal_0'
z1.f90:4:18: internal compiler error: in gfc_conv_procedure_call, at
fortran/trans-expr.cc:6193
0x8afc1a gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*,
gfc_expr*, vec<tree_node*, va_gc, vl_embed>*)
        ../../gcc/fortran/trans-expr.cc:6191
0x8ed790 gfc_trans_call(gfc_code*, bool, tree_node*, tree_node*, bool)
        ../../gcc/fortran/trans-stmt.cc:422
0x8740f8 trans_code
        ../../gcc/fortran/trans.cc:2018
0x89d4ce gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.cc:7659
0x81f57e translate_all_program_units
        ../../gcc/fortran/parse.cc:6696
0x81f57e gfc_parse_file()
        ../../gcc/fortran/parse.cc:7002
0x86ccbf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.cc:229

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

end of thread, other threads:[~2022-11-25 22:31 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-08 17:27 [Bug fortran/107576] New: [10/11/12/13 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.cc:6193 gscfq@t-online.de
2022-11-08 17:28 ` [Bug fortran/107576] " gscfq@t-online.de
2022-11-08 17:36 ` rguenth at gcc dot gnu.org
2022-11-08 20:43 ` anlauf at gcc dot gnu.org
2022-11-11 21:43 ` anlauf at gcc dot gnu.org
2022-11-11 22:00 ` anlauf at gcc dot gnu.org
2022-11-14 17:29 ` gscfq@t-online.de
2022-11-14 18:03 ` anlauf at gcc dot gnu.org
2022-11-14 20:21 ` gscfq@t-online.de
2022-11-14 20:46 ` anlauf at gcc dot gnu.org
2022-11-15 21:41 ` anlauf at gcc dot gnu.org
2022-11-17 20:49 ` anlauf at gcc dot gnu.org
2022-11-18 18:21 ` cvs-commit at gcc dot gnu.org
2022-11-25 22:19 ` cvs-commit at gcc dot gnu.org
2022-11-25 22:27 ` cvs-commit at gcc dot gnu.org
2022-11-25 22:30 ` cvs-commit at gcc dot gnu.org
2022-11-25 22:31 ` 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).