------- Comment #3 from jvdelisle at gcc dot gnu dot org 2008-01-20 18:10 ------- In the failing case, we have no stride:
Breakpoint 1, gfc_walk_subexpr (ss=0xfc2de0, expr=0x106f6b0) at ../../gcc43/gcc/fortran/trans-array.c:5609 (gdb) p *expr->ref snip ----> stride = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, dimen_type = And in the passing case we do: Breakpoint 1, gfc_walk_subexpr (ss=0xfc2de0, expr=0x106f6b0) at ../../gcc43/gcc/fortran/trans-array.c:5609 snip ----> stride = {0x106fb70, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0} (gdb) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34876