[Bug fortran/93715] New: [9/10 Regression] ICE in gfc_trans_auto_array_allocation, at fortran/trans-array.c:6320
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Wed Feb 12 18:58:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93715
Bug ID: 93715
Summary: [9/10 Regression] ICE in
gfc_trans_auto_array_allocation, at
fortran/trans-array.c:6320
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Changed between 20180819 and 20180826 :
$ cat z1.f90
program p
integer :: a, b[*]
read (1, *, asynchronous='yes') a, b
end
$ gfortran-9-20180819 -c z1.f90 -fcoarray=lib
$ gfortran-9-20180819 -c z1.f90 -fcoarray=single
$
$ gfortran-10-20200209 -c z1.f90 -fcoarray=lib
$ gfortran-10-20200209 -c z1.f90 -fcoarray=single
z1.f90:2:0:
2 | integer :: a, b[*]
|
internal compiler error: in gfc_trans_auto_array_allocation, at
fortran/trans-array.c:6320
0x704363 gfc_trans_auto_array_allocation(tree_node*, gfc_symbol*,
gfc_wrapped_block*)
../../gcc/fortran/trans-array.c:6320
0x71e1d7 gfc_trans_deferred_vars(gfc_symbol*, gfc_wrapped_block*)
../../gcc/fortran/trans-decl.c:4838
0x720f48 gfc_generate_function_code(gfc_namespace*)
../../gcc/fortran/trans-decl.c:6940
0x6a9d06 translate_all_program_units
../../gcc/fortran/parse.c:6306
0x6a9d06 gfc_parse_file()
../../gcc/fortran/parse.c:6545
0x6f42bf gfc_be_parse_file
../../gcc/fortran/f95-lang.c:210
More information about the Gcc-bugs
mailing list