This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/82868] New: ICE in generate_coarray_sym_init, at fortran/trans-decl.c:5203
- From: "gscfq at t-online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 06 Nov 2017 17:53:26 +0000
- Subject: [Bug fortran/82868] New: ICE in generate_coarray_sym_init, at fortran/trans-decl.c:5203
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82868
Bug ID: 82868
Summary: ICE in generate_coarray_sym_init, at
fortran/trans-decl.c:5203
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
With file ./gcc/testsuite/gfortran.dg/associate_26.f90 :
$ gfortran-8-20171105 -c associate_26.f90 -fcoarray=single
$
$ gfortran-8-20171105 -c associate_26.f90 -fcoarray=lib
associate_26.f90:13:0:
associate (i => a(1:p, 1:p))
internal compiler error: in generate_coarray_sym_init, at
fortran/trans-decl.c:5203
0x74bcd9 generate_coarray_sym_init
../../gcc/fortran/trans-decl.c:5203
0x71ae0b do_traverse_symtree
../../gcc/fortran/symbol.c:4157
0x74b235 generate_coarray_init
../../gcc/fortran/trans-decl.c:5324
0x74ddd0 gfc_process_block_locals(gfc_namespace*)
../../gcc/fortran/trans-decl.c:6721
0x79b1d0 gfc_trans_block_construct(gfc_code*)
../../gcc/fortran/trans-stmt.c:1868
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