------- Comment #9 from burnus at gcc dot gnu dot org 2007-05-04 22:29 ------- If ts.cl->length is set to one, the test case of comment 6 works; see also http://gcc.gnu.org/ml/fortran/2007-05/msg00072.html which contains a bogus patch which fixes this.
As that patch messes around with length, the test case of comment 0 fails. (The "res" variable contains "111111111" instead of "2222222222", i.e. the value of a(1:1) instead of a(2:2) is used.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31197