https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92569
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 Status|WAITING |NEW Last reconfirmed|2019-11-19 00:00:00 |2019-11-21 CC| |anlauf at gcc dot gnu.org Summary|gfortran read with end |[8/9/10 Regression] |directive does not trigger |gfortran read with end |in gfortran 9.2 |directive does not trigger | |with -ffrontend-optimize --- Comment #4 from anlauf at gcc dot gnu.org --- The bug triggers with -ffrontend-optimize, thus confirmed. The problem shows up with the implied loop over j in the read statement, which runs over the second dimension. Transposing the array and adjusting the code appropriately it does no longer fail. Workaround: compile with -fno-frontend-optimize until a fix is available.