------- Comment #2 from burnus at gcc dot gnu dot org 2009-01-17 22:20 ------- Created an attachment (id=17130) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17130&action=view) Difference of the dump
The problem is the call _gfortran_internal_unpack (&parm.2, D.1572); since the array has zero extent. The _gfortrani_internal_unpack_4 has the following check: 61 extent[n] = d->dim[n].ubound + 1 - d->dim[n].lbound; 62 if (extent[n] <= 0) 63 abort (); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38887