------- Comment #12 from burnus at gcc dot gnu dot org 2009-07-03 11:33 ------- > Michael Matz fixed that for allocatable arrays, but the patch needs to be > extended to nonallocatable arrays, cf. > http://gcc.gnu.org/ml/fortran/2009-07/msg00004.html
Actually, there it already works. Left is only to do the same optimization for CONTIGUOUS arrays, but this F2008 feature does not exist, yet. Thus I am closing this PR. For the contiguous attribute, see PR 40632. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32131