------- Comment #3 from david dot sagan at gmail dot com 2010-08-31 14:32 ------- (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 trim(line) is supposed to return a temporary, the code might be conforming. Seems that the situation is not clear... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45463