https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61640
--- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- One subtlety. If I change the read to: read(source,*) (x(i), i=1,9) ! 9 instead of 6 I get an EOF with kind=4 but the read is OK with kind=1. I am investigating this. Probably yet another unrelated problem..