https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
--- Comment #1 from Harald Anlauf <anlauf at gmx dot de> --- No special options used, just: % gfc-trunk -c -I/opt/gcc/9/pkg/netcdf/include gfcbug152.f90 (where above path hold the gfortran-9 specific netcdf.mod & friends).