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

G. Steinmetz <gs...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gs...@t-online.de

--- Comment #4 from G. Steinmetz <gs...@t-online.de> ---
Simplified a bit :


$ cat z5.f90
program p
   integer, allocatable :: z[:,:]
   allocate (z[:2,*])
end


$ gfortran-9-20180513 -c z5.f90 -fcoarray=single
z5.f90:3:0:

    allocate (z[:2,*])

internal compiler error: in gfc_array_init_size, at fortran/trans-array.c:5496
0x757ac0 gfc_array_init_size
        ../../gcc/fortran/trans-array.c:5496
0x757ac0 gfc_array_allocate(gfc_se*, gfc_expr*, tree_node*, tree_node*,
tree_node*, tree_node*, tree_node*, tree_node**, gfc_expr*, tree_node*, bool)
        ../../gcc/fortran/trans-array.c:5770
0x7bb737 gfc_trans_allocate(gfc_code*)
        ../../gcc/fortran/trans-stmt.c:6300
0x74b6e7 trans_code
        ../../gcc/fortran/trans.c:1996
0x772c49 gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:6507
0x701d40 translate_all_program_units
        ../../gcc/fortran/parse.c:6121
0x701d40 gfc_parse_file()
        ../../gcc/fortran/parse.c:6324
0x748adf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204

Reply via email to