https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88169
--- Comment #9 from Neil Carlson <neil.n.carlson at gmail dot com> --- Actually I think the usage in comment 8 is an intentional extension. There is a test in the dg test suite that does exactly this if I remember correctly. The test was namelist_use.f90. I was told that gfortran will give an error if compiled with something like -std=f95. See https://github.com/nncarlson/gfortran.dg/issues/3