------- Comment #6 from jvdelisle at gcc dot gnu dot org  2010-09-01 02:10 
> 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...

Where in the standard does it say that trim(line) must generate a temporary.  I
can think of an implementation that would track the length trimmed to and
conserve the memory.  My point being that this level of behavior, using
temporaries or not, IMNSHO, is implementation detail that does not belong in
the standard if it is there. c.l.f folks sometimes get a bit esoteric in their

I am closing this bug as not a bug (invalid). I do appreciate the report
though.  We do not want to miss things and its better to error on the safe side
and report then not.


jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


Reply via email to