https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65089
--- Comment #8 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- True, fortran strings are not generally NULL terminated. However, for internal representation between Frontend and library we try to do so for safety. Evidently missed one or don't have it in this case. Still odd that my manual, so to speak, 'for' loop is finding a NULL and counting the correct length. I will do some more digging, probably something "obvious". Just not seeing it yet.