[Bug fortran/56496] [OOP] [F08] ICE with TYPE(*) coarray and SELECT TYPE

gscfq@t-online.de gcc-bugzilla@gcc.gnu.org
Mon Nov 6 17:42:00 GMT 2017


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

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

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

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


$ gfortran-8-20171105 -c pr56496.f90 -fcoarray=single
pr56496.f90:5:0:

   a= 5

internal compiler error: Segmentation fault
0xb60fdf crash_signal
        ../../gcc/toplev.c:324
0x737444 gfc_conv_array_data(tree_node*)
        ../../gcc/fortran/trans-array.c:2936
0x73797d gfc_conv_ss_descriptor
        ../../gcc/fortran/trans-array.c:2874
0x73a167 gfc_conv_ss_startstride(gfc_loopinfo*)
        ../../gcc/fortran/trans-array.c:4227
0x76af6b gfc_trans_assignment_1
        ../../gcc/fortran/trans-expr.c:9954
0x7301b7 trans_code
        ../../gcc/fortran/trans.c:1828
0x79b208 gfc_trans_block_construct(gfc_code*)
        ../../gcc/fortran/trans-stmt.c:1877
0x72ffd7 trans_code
        ../../gcc/fortran/trans.c:1924
0x79d4a7 gfc_trans_select_type_cases
        ../../gcc/fortran/trans-stmt.c:2475
0x79d4a7 gfc_trans_select_type(gfc_code*)
        ../../gcc/fortran/trans-stmt.c:3185
0x72ff47 trans_code
        ../../gcc/fortran/trans.c:1944
0x79b208 gfc_trans_block_construct(gfc_code*)
        ../../gcc/fortran/trans-stmt.c:1877
0x72ffd7 trans_code
        ../../gcc/fortran/trans.c:1924
0x756bfc gfc_generate_function_code(gfc_namespace*)
        ../../gcc/fortran/trans-decl.c:6421
0x6e8b90 translate_all_program_units
        ../../gcc/fortran/parse.c:6091
0x6e8b90 gfc_parse_file()
        ../../gcc/fortran/parse.c:6294
0x72d3bf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:204


More information about the Gcc-bugs mailing list