------- Comment #2 from dfranke at gcc dot gnu dot org 2007-12-22 20:40 ------- Fixed.
Index: simplify.c =================================================================== --- simplify.c (revision 131122) +++ simplify.c (working copy) @@ -3128,7 +3128,9 @@ gfc_simplify_repeat (gfc_expr *e, gfc_ex if (e->expr_type != EXPR_CONSTANT) return NULL; - if (len || mpz_sgn (e->ts.cl->length->value.integer) != 0) + if (len || + (e->ts.cl->length && + mpz_sgn (e->ts.cl->length->value.integer)) != 0) { const char *res = gfc_extract_int (n, &ncop); gcc_assert (res == NULL); (not yet regression tested, obviously) -- dfranke at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dfranke at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34559