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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
            Version|6.0                         |7.0
         Resolution|FIXED                       |---

--- Comment #5 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> 
---
The ICE is gone for several constellations, but not for all.


$ gfortran-7-20160821 -mavx z1.f90
z1.f90:2:46:

    character(len=2, kind=4) :: a = 'aa', b = 'bb
                                              1
Error: Unterminated character constant beginning at (1)
f951: internal compiler error: Segmentation fault
0xc1b63f crash_signal
        ../../gcc/toplev.c:335
0x688b02 gfc_is_constant_expr(gfc_expr*)
        ../../gcc/fortran/expr.c:899
0x688c1b gfc_is_constant_expr(gfc_expr*)
        ../../gcc/fortran/expr.c:902
0x6f13ba resolve_fl_procedure
        ../../gcc/fortran/resolve.c:11618
0x6f13ba resolve_symbol
        ../../gcc/fortran/resolve.c:14257
0x7098ab do_traverse_symtree
        ../../gcc/fortran/symbol.c:3930
0x6f319a resolve_types
        ../../gcc/fortran/resolve.c:15482
0x6eee5c gfc_resolve(gfc_namespace*)
        ../../gcc/fortran/resolve.c:15593
0x6da18a resolve_all_program_units
        ../../gcc/fortran/parse.c:5855
0x6da18a gfc_parse_file()
        ../../gcc/fortran/parse.c:6107
0x71c602 gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:198

Reply via email to