https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78239
--- Comment #11 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Thu Dec 22 17:05:13 2016 New Revision: 243891 URL: https://gcc.gnu.org/viewcvs?rev=243891&root=gcc&view=rev Log: 2016-12-22 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/78239 * decl.c (char_len_param_value): Also check for -fimplicit-none when determining if implicit none is in force. 2016-12-22 Thomas Koenig <tkoe...@gcc.gnu.org> Backport from trunk PR fortran/78239 * gfortran.dg/fimplicit_none_1.f90: New test. * gfortran.dg/fimplicit_none_2.f90: New test. Added: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/fimplicit_none_1.f90 branches/gcc-6-branch/gcc/testsuite/gfortran.dg/fimplicit_none_2.f90 Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/decl.c branches/gcc-6-branch/gcc/testsuite/ChangeLog