[Bug fortran/69859] Non-deterministic ICEs on incomplete character declaration statement
gerhard.steinmetz.fortran@t-online.de
gcc-bugzilla@gcc.gnu.org
Mon Aug 22 17:52:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69859
Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|6.0 |7.0
--- Comment #6 from Gerhard Steinmetz <gerhard.steinmetz.fortran@t-online.de> ---
For most constellations the ICE is still inherent.
$ gfortran-7-20160821 -g z5.f90
z5.f90:3:36:
character, allocatable :: x(:) y(:)
1
Error: Syntax error in data declaration 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
0x6f47d6 resolve_component
../../gcc/fortran/resolve.c:13092
0x6f4eb4 resolve_component
../../gcc/fortran/resolve.c:12847
0x6f4eb4 resolve_fl_derived0
../../gcc/fortran/resolve.c:13329
0x6f508c resolve_fl_derived0
../../gcc/fortran/resolve.c:13298
0x6f508c resolve_fl_derived
../../gcc/fortran/resolve.c:13406
0x6f0206 resolve_symbol
../../gcc/fortran/resolve.c:13685
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
More information about the Gcc-bugs
mailing list