https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95067
Bug ID: 95067 Summary: [10/11 Regression] ICE in tree_fits_shwi_p, at tree.c:7262 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Changed between 20190526 and 20190602, with option -gstabs : $ cat z1.f90 program p character(:), allocatable :: a character(3) :: b[*] a = 'abc' b[1] = a end $ gfortran-9 -c z1.f90 -fcoarray=lib -O2 -gstabs $ $ gfortran-11-20200510 -c z1.f90 -fcoarray=lib -O2 -gstabs during RTL pass: final z1.f90:6:0: 6 | end | internal compiler error: Segmentation fault 0xbb93cf crash_signal ../../gcc/toplev.c:328 0xe0d447 tree_fits_shwi_p(tree_node const*) ../../gcc/tree.c:7262 0x815e82 dbxout_range_type ../../gcc/dbxout.c:1740 0x81556a dbxout_type ../../gcc/dbxout.c:2042 0x8141d4 dbxout_type ../../gcc/dbxout.c:2334 0x8161fe dbxout_symbol_location ../../gcc/dbxout.c:3246 0x816f00 dbxout_symbol(tree_node*, int) ../../gcc/dbxout.c:2972 0x817f2e dbxout_syms(tree_node*) ../../gcc/dbxout.c:3428 0x81808c dbxout_block ../../gcc/dbxout.c:3791 0x8182a3 dbxout_function_decl ../../gcc/dbxout.c:1388 0x8d9399 rest_of_handle_final ../../gcc/final.c:4694 0x8d9399 execute ../../gcc/final.c:4736