https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78387
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I thought they are supposed to be, at least that is what we had unit_lock, u->lock etc. for. So has something in libgfortran changed so that it doesn't properly lock the units anymore?