------- Comment #5 from d at domob dot eu 2008-05-04 11:23 ------- Now I believe I found out where the problem might be; as far as I can tell, gfc_array_ctor_strlen in trans-array.c is the point where we determine the length of the elements of a character array constructor; in the loop over all elements, it seems that the output length is overwritten on each iteration, thus returning the length of the last element, as I reported above.
I can't really tell how this value is used later and if this behaviour is correct and the error comes later, but breaking the loop there after the first iteration gives the correct result for the test-case I was looking at, so the problem might really be there. Any ideas/suggestions/comments on this? And now I'll probably really wait... :D -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36112