Request for comment: Character substring lengths

Brooks Moses brooks.moses@codesourcery.com
Sat May 5 06:17:00 GMT 2007


Tobias Schlüter wrote:
> FX Coudert wrote:
>  > I think there might be lots of places in the front-end relying on this
>  > convention. A grep for "ts.cl " reveals a few trivial ones, but I
>  > think there might be more...
> 
> Indeed, I found about this recently when I prepared my last series of 
> patches.  I think I wrote something about this in one of my patch 
> submissions, but I couldn't find it, so I may only have it in my private 
> notes.  I will check later today if I kept them, as I then believed to 
> have understood the mechanism behind charlenghths.

If you find something, could you put it in gfc_internals.texi?  :)

There's also the complication that constant character expressions don't 
have ts.cl.  (Or, at least, they don't reliably have it; I'm not at all 
sure of the details.)  Instead, they have value.character.length.

- Brooks



More information about the Fortran mailing list