------- 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. removing "dimension" and using "ubound(TCg_coef,1)", works. -- burnus at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu dot | |org Keywords| |ice-on-valid-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31591