https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103115
Jürgen Reuter <juergen.reuter at desy dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |juergen.reuter at desy dot de --- Comment #3 from Jürgen Reuter <juergen.reuter at desy dot de> --- (In reply to Thomas Koenig from comment #2) > I can confirm the bug with gcc 9 (didn't check any other > version). > > Current trunk gives me > > .f90:10:13: > > 10 | ] > | 1 > interner Compiler-Fehler: tree check: expected integer_cst, have save_expr > in gfc_trans_array_constructor_value, at fortran/trans-array.c:2187 > 0x1002ebcf tree_check_failed(tree_node const*, char const*, int, char > const*, ...) > ../../trunk/gcc/tree.c:8689 > 0x101d89bf tree_int_cst_elt_check(tree_node*, int, char const*, int, char > const*) > ../../trunk/gcc/tree.h:3633 > 0x101d89bf tree_int_cst_elt_check(tree_node*, int, char const*, int, char > const*) > ../../trunk/gcc/tree.h:3629 > 0x101d89bf gfc_trans_array_constructor_value > ../../trunk/gcc/fortran/trans-array.c:2187 > 0x101d9563 trans_array_constructor > ../../trunk/gcc/fortran/trans-array.c:2900 > 0x101d9563 gfc_add_loop_ss_code > ../../trunk/gcc/fortran/trans-array.c:3180 > 0x101d9f6f gfc_conv_loop_setup(gfc_loopinfo*, locus*) > ../../trunk/gcc/fortran/trans-array.c:5430 > 0x102350db gfc_trans_assignment_1 > ../../trunk/gcc/fortran/trans-expr.c:11642 > 0x101ba337 trans_code > ../../trunk/gcc/fortran/trans.c:1916 > > Marking as regression for the ICE at least. Thomas, are you sure? I cannot see an ICE, neither with the master from September 21 nor with the master from yesterday.