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

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


$ gfortran-7-20161127 z1t.f90
z1t.f90:3:28:

       character(2) :: z(1) = '' // ['y']
                            1
Warning: CHARACTER expression at (1) is being truncated (2/1)
[-Wcharacter-truncation]
f951: internal compiler error: free_expr0(): Bad expr type
0x68ea6f gfc_internal_error(char const*, ...)
        ../../gcc/fortran/error.c:1327
0x68f7cb free_expr0
        ../../gcc/fortran/expr.c:494
0x68f81d gfc_free_expr(gfc_expr*)
        ../../gcc/fortran/expr.c:513
0x71b273 gfc_free_charlen(gfc_charlen*, gfc_charlen*)
        ../../gcc/fortran/symbol.c:3840
0x71b349 gfc_free_namespace(gfc_namespace*)
        ../../gcc/fortran/symbol.c:3890
0x71b89c gfc_symbol_done_2()
        ../../gcc/fortran/symbol.c:3926
0x6c33d8 gfc_done_2()
        ../../gcc/fortran/misc.c:264
0x6e61f6 translate_all_program_units
        ../../gcc/fortran/parse.c:6057
0x6e61f6 gfc_parse_file()
        ../../gcc/fortran/parse.c:6238
0x729ee2 gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:202

---


Different ICEs using LANG=de_DE.UTF-8, for example :

$ gfortran-7-20161204 -O2 -fcheck=all z1t.f90
f951: internal compiler error: Speicherzugriffsfehler
0xc4940f crash_signal
        ../../gcc/toplev.c:333
0x856200 process_function_and_variable_attributes
        ../../gcc/cgraphunit.c:726
0x856200 analyze_functions
        ../../gcc/cgraphunit.c:1029
0x857e28 symbol_table::finalize_compilation_unit()
        ../../gcc/cgraphunit.c:2562

Reply via email to