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

Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gerhard.steinmetz.fortran@t
                   |                            |-online.de

--- Comment #3 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> 
---

Update :


$ cat z1.f90
program p
   type t
   end type
   call f(t)
end


$ gfortran-7-20161120 z1.f90
z1.f90:2:0:

    type t

internal compiler error: Segmentation fault
0xc4265f crash_signal
        ../../gcc/toplev.c:333
0x74c990 gfc_sym_identifier
        ../../gcc/fortran/trans-decl.c:339
0x74e2e3 build_function_decl
        ../../gcc/fortran/trans-decl.c:2197
0x75806a gfc_get_symbol_decl(gfc_symbol*)
        ../../gcc/fortran/trans-decl.c:1622
0x77005f gfc_conv_variable
        ../../gcc/fortran/trans-expr.c:2494
0x76bcf2 gfc_conv_expr(gfc_se*, gfc_expr*)
        ../../gcc/fortran/trans-expr.c:7704
0x773aa6 gfc_conv_expr_reference(gfc_se*, gfc_expr*)
        ../../gcc/fortran/trans-expr.c:7804
0x767220 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:5169
0x7b0fe4 gfc_trans_call(gfc_code*, bool, tree_node*, tree_node*, bool)
        ../../gcc/fortran/trans-stmt.c:407
0x72c59a trans_code
        ../../gcc/fortran/trans.c:1774
0x75c578 gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:6261
0x6e53e0 translate_all_program_units
        ../../gcc/fortran/parse.c:6038
0x6e53e0 gfc_parse_file()
        ../../gcc/fortran/parse.c:6238
0x729052 gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:202

Reply via email to