------- Comment #3 from pault at gcc dot gnu dot org 2008-01-22 12:28 ------- Dick,
You seem to have an unerring aim at our.... well....weaker points. Thanks for coming in with these bugs, they are really helping. This fellow comes about because there just is no provision for writing a temporary back again in trans-io.c! If you look at the code, using -fdump-tree-original, gfortran dutifully copies in to a temporary, reads into it and then does nothing with it! Fortunately, this was something that was encountered in making function calls with "subreference arrays" (ie. pointers to the components of derived types) and the function used to solve it will work here, I think. I'll try to do it tonight. Cheers Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34875