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

--- Comment #2 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> 
---
Update, backtrace :


$ gfortran-7-20161204 -c z2a.f90
z2a.f90:4:12:

    data x /'a'/
            1
Warning: Initialization string at (1) was truncated to fit the variable (0/1)
z2a.f90:1:0:

 subroutine s(n)

internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1705
0x75b6f5 gfc_get_symbol_decl(gfc_symbol*)
        ../../gcc/fortran/trans-decl.c:1705
0x75e5b7 generate_local_decl
        ../../gcc/fortran/trans-decl.c:5327
0x71825b do_traverse_symtree
        ../../gcc/fortran/symbol.c:3994
0x75f412 generate_local_vars
        ../../gcc/fortran/trans-decl.c:5527
0x75f412 gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:6206
0x6e73d0 translate_all_program_units
        ../../gcc/fortran/parse.c:6038
0x6e73d0 gfc_parse_file()
        ../../gcc/fortran/parse.c:6238
0x72b182 gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:202

Reply via email to