public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/96087] New: [9/10/11 Regression] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1575
@ 2020-07-06 18:01 gscfq@t-online.de
  2020-07-06 18:01 ` [Bug fortran/96087] " gscfq@t-online.de
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: gscfq@t-online.de @ 2020-07-06 18:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96087
           Summary: [9/10/11 Regression] ICE in gfc_get_symbol_decl, at
                    fortran/trans-decl.c:1575
           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: ---

This changed between 20200308 and 20200412 :


$ cat z1.f90
module m
   interface
      module function f(n) result(z)
         integer, intent(in) :: n
         real :: z(n)
      end
   end interface
contains
   module procedure f
      z = 1
   end procedure
end


$ gfortran-10-20200308 -c z1.f90
$
$ gfortran-11-20200705 -c z1.f90
z1.f90:3:0:

    3 |       module function f(n) result(z)
      |
internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1575
0x72bceb gfc_get_symbol_decl(gfc_symbol*)
        ../../gcc/fortran/trans-decl.c:1575
0x73a4b8 gfc_conv_variable
        ../../gcc/fortran/trans-expr.c:2735
0x7366ca gfc_conv_expr(gfc_se*, gfc_expr*)
        ../../gcc/fortran/trans-expr.c:8693
0x739523 gfc_conv_expr_val(gfc_se*, gfc_expr*)
        ../../gcc/fortran/trans-expr.c:8738
0x739670 gfc_conv_expr_type(gfc_se*, gfc_expr*, tree_node*)
        ../../gcc/fortran/trans-expr.c:8752
0x712edf gfc_trans_dummy_array_bias(gfc_symbol*, tree_node*,
gfc_wrapped_block*)
        ../../gcc/fortran/trans-array.c:6668
0x72ce1c gfc_trans_deferred_vars(gfc_symbol*, gfc_wrapped_block*)
        ../../gcc/fortran/trans-decl.c:4862
0x72f408 gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:6945
0x709c49 gfc_generate_module_code(gfc_namespace*)
        ../../gcc/fortran/trans.c:2264
0x6b6901 translate_all_program_units
        ../../gcc/fortran/parse.c:6294
0x6b6901 gfc_parse_file()
        ../../gcc/fortran/parse.c:6546
0x70284f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:212

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

end of thread, other threads:[~2023-07-07 10:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-06 18:01 [Bug fortran/96087] New: [9/10/11 Regression] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1575 gscfq@t-online.de
2020-07-06 18:01 ` [Bug fortran/96087] " gscfq@t-online.de
2020-07-07  7:23 ` rguenth at gcc dot gnu.org
2020-07-07  8:50 ` marxin at gcc dot gnu.org
2020-07-07 17:19 ` gscfq@t-online.de
2021-06-01  8:18 ` [Bug fortran/96087] [9/10/11/12 " rguenth at gcc dot gnu.org
2022-05-27  9:43 ` [Bug fortran/96087] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:41 ` jakub at gcc dot gnu.org
2023-07-07 10:37 ` [Bug fortran/96087] [11/12/13/14 " rguenth 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).