[Bug fortran/83901] New: [8 Regresion] ICE in fold_convert_loc, at fold-const.c:2402
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Tue Jan 16 17:49:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83901
Bug ID: 83901
Summary: [8 Regresion] ICE in fold_convert_loc, at
fold-const.c:2402
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: ---
Since about 20171008, with -fcoarray=single or -fcoarray=lib :
$ cat z1.f90
program p
character(8), allocatable :: x[:]
x = 'abc'
associate (y => x)
end associate
end
$ gfortran-8-20180114 -c z1.f90 -fcoarray=single
z1.f90:4:0:
associate (y => x)
internal compiler error: in fold_convert_loc, at fold-const.c:2402
0x91ee2f fold_convert_loc(unsigned int, tree_node*, tree_node*)
../../gcc/fold-const.c:2401
0x7b3957 trans_associate_var
../../gcc/fortran/trans-stmt.c:1804
0x7b3957 gfc_trans_block_construct(gfc_code*)
../../gcc/fortran/trans-stmt.c:1921
0x747a97 trans_code
../../gcc/fortran/trans.c:1924
0x76eb79 gfc_generate_function_code(gfc_namespace*)
../../gcc/fortran/trans-decl.c:6451
0x6fe980 translate_all_program_units
../../gcc/fortran/parse.c:6103
0x6fe980 gfc_parse_file()
../../gcc/fortran/parse.c:6306
0x744e5f gfc_be_parse_file
../../gcc/fortran/f95-lang.c:204
More information about the Gcc-bugs
mailing list