------- Comment #3 from mikael at gcc dot gnu dot org 2009-01-15 21:30 ------- quick fix:
Index: simplify.c =================================================================== --- simplify.c (révision 143354) +++ simplify.c (copie de travail) @@ -2253,7 +2253,8 @@ simplify_bound (gfc_expr *array, gfc_expr *dim, gf case AR_FULL: /* We're done because 'as' has already been set in the previous iteration. */ - goto done; + if (!ref->next) + goto done; case AR_SECTION: case AR_UNKNOWN: -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38859