[Bug fortran/77872] New: ICE in gfc_conv_descriptor_token, at fortran/trans-array.c:305
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Wed Oct 5 17:36:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77872
Bug ID: 77872
Summary: ICE in gfc_conv_descriptor_token, at
fortran/trans-array.c:305
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gerhard.steinmetz.fortran@t-online.de
Target Milestone: ---
Affects versions 5, 6 and 7. No ICE with 4.9.0.
$ cat z1.f90
module m
type, abstract :: t
contains
procedure(s), pass, deferred :: f
end type
contains
subroutine s(x)
class(t) :: x[*]
call x%f()
end
end
$ gfortran-7-20161002 -fcoarray=single -c z1.f90
$ gfortran-7-20161002 -fcoarray=lib -c z1.f90
z1.f90:9:0:
call x%f()
internal compiler error: in gfc_conv_descriptor_token, at
fortran/trans-array.c:305
0x72afed gfc_conv_descriptor_token(tree_node*)
../../gcc/fortran/trans-array.c:303
0x75fece 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:5804
0x7a4dc4 gfc_trans_call(gfc_code*, bool, tree_node*, tree_node*, bool)
../../gcc/fortran/trans-stmt.c:407
0x7243fa trans_code
../../gcc/fortran/trans.c:1787
0x7538f8 gfc_generate_function_code(gfc_namespace*)
../../gcc/fortran/trans-decl.c:6257
0x728a49 gfc_generate_module_code(gfc_namespace*)
../../gcc/fortran/trans.c:2088
0x6de19d translate_all_program_units
../../gcc/fortran/parse.c:5927
0x6de19d gfc_parse_file()
../../gcc/fortran/parse.c:6146
0x720e82 gfc_be_parse_file
../../gcc/fortran/f95-lang.c:198
More information about the Gcc-bugs
mailing list