News for hackers. Stuff that matters.
Re:C, Fortran, and single-character strings by malaxii on Saturday June 22, 2019 @05:50AM (#20248822)
Right, gfortran does not special-case length-1 strings.

The actual problem however is that it still works in simple cases --- when the Fortran code doesn't access the string length (and apparently, doesn't do tail-calls) --- even when the extra integer length arguments are omitted from the call. Because of this it was possible for the mistake to spread widely...

There are no comments on this comment yet.