[Bug fortran/31591] ICE: on array initialization statement using 'ubound' (fortran/trans-array.c:3693)

2007-04-16 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2007-04-16 20:42 --- Ups, misread your report. After uncommenting the WRITE, all tested compilers crash. $ gfortran -v gcc version 4.3.0 20070331 Backtrace: Breakpoint 1, fancy_abort (file=0x86e4fec

[Bug fortran/31591] ICE: on array initialization statement using 'ubound' (fortran/trans-array.c:3693)

2007-04-16 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-04-16 21:14 --- The assert is trans-array.c's gfc_conv_array_initializer switch (expr-expr_type) { ... default: gcc_unreachable (); Here, expr-expr_type is EXPR_FUNCTION. By the way, the scalar version, i.e.