------- Comment #4 from kargl at gcc dot gnu dot org 2010-08-31 16:40 -------
(In reply to comment #3)
> (In reply to comment #2)
> > Sorry. When I looked after I had posted the question there was only one
> > response and that response said it was a bug so I submitted this bug report.
> > Now other people have posted saying that the program is non-conforming.
> Update: More responses in comp.lang.fortran bring up the point that if
> is supposed to return a temporary, the code might be conforming. Seems that
> situation is not clear...
IMNSHO, it's not conforming. trim(line) is associated with line.
I don't see how one could interpret the standard in in other way.