[Patch?, fortran] PRs 31197, 31258 and 31879 - character things

Paul Richard Thomas paul.richard.thomas@gmail.com
Fri Jun 15 18:24:00 GMT 2007


Tobi,

Good to hear from you.


>
> I don't think this is at all affected by the staging of the compiler.
> Bugs may be fixed all the way into stage 3.

Ah... great!

>
> A minor possible enhancement: you could move the checks for ts.type ==
> BT_CHARACTER and ref != NULL into gfc_resolve_substring_charlen, saving
> you the need to spell this out everytime you call the function.  I've
> not looked at the details of the patch.

Yes, that's one of many such that I had in mind - I'll get on with it.
 I'd far rather do a proper fix, rather than put more kludges on
kludges.

Thanks

Paul



More information about the Fortran mailing list