https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68147
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- If I use print *, len(name), "'", name, "'" I get 5 'a.o ' > If I remove the if-statement, the code works as expected. I see that too.