https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85448
--- Comment #9 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- With current trunk, I get $ gfortran od.c odopen.f90 $ ./a.out c_odopen odopen unit=8 $ gfortran od.c odopen.f90 $ ./a.out c_odopen odopen unit=8 $ which looks correct. So, I'm going to commit a test case (better safe than sorry) and close as fixed.