[Bug fortran/71203] ICE in add_init_expr_to_sym, at fortran/decl.c:1512 and :1564

gscfq@t-online.de gcc-bugzilla@gcc.gnu.org
Tue Jan 16 17:35:00 GMT 2018


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

G. Steinmetz <gscfq@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gscfq@t-online.de

--- Comment #4 from G. Steinmetz <gscfq@t-online.de> ---
Update, backtrace :


$ gfortran-8-20180114 -c z1.f90
f951: internal compiler error: in add_init_expr_to_sym, at fortran/decl.c:1741
0x69004f add_init_expr_to_sym
        ../../gcc/fortran/decl.c:1741
0x699123 variable_decl
        ../../gcc/fortran/decl.c:2589
0x699123 gfc_match_data_decl()
        ../../gcc/fortran/decl.c:5698
0x6f3ea9 match_word_omp_simd
        ../../gcc/fortran/parse.c:93
0x6f759e match_word
        ../../gcc/fortran/parse.c:376
0x6f759e decode_statement
        ../../gcc/fortran/parse.c:376
0x6f93d4 next_free
        ../../gcc/fortran/parse.c:1226
0x6f93d4 next_statement
        ../../gcc/fortran/parse.c:1458
0x6facbc parse_spec
        ../../gcc/fortran/parse.c:3836
0x6fd173 parse_progunit
        ../../gcc/fortran/parse.c:5649
0x6fe754 gfc_parse_file()
        ../../gcc/fortran/parse.c:6189
0x744e5f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204



$ gfortran-8-20180114 -c z4.f90
f951: internal compiler error: in add_init_expr_to_sym, at fortran/decl.c:1793
0x68ffa5 add_init_expr_to_sym
        ../../gcc/fortran/decl.c:1793
0x699123 variable_decl
        ../../gcc/fortran/decl.c:2589
0x699123 gfc_match_data_decl()
        ../../gcc/fortran/decl.c:5698
0x6f3ea9 match_word_omp_simd
        ../../gcc/fortran/parse.c:93
0x6f759e match_word
        ../../gcc/fortran/parse.c:376
0x6f759e decode_statement
        ../../gcc/fortran/parse.c:376
0x6f93d4 next_free
        ../../gcc/fortran/parse.c:1226
0x6f93d4 next_statement
        ../../gcc/fortran/parse.c:1458
0x6facbc parse_spec
        ../../gcc/fortran/parse.c:3836
0x6fd173 parse_progunit
        ../../gcc/fortran/parse.c:5649
0x6fe754 gfc_parse_file()
        ../../gcc/fortran/parse.c:6189
0x744e5f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204


More information about the Gcc-bugs mailing list