Hacker News new | ask | show | jobs
by malaxii 2558 days ago
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...