2014-10-10 Tobias Burnus <burnus@net-b.de>
commit94fea777b7c9f34d4d8ddd6c624078ec62c502c1
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Oct 2014 06:00:26 +0000 (10 06:00 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Oct 2014 06:00:26 +0000 (10 06:00 +0000)
tree5afdf90c58115030af219c47b0a8c549eb3748ea
parent4bfc903761da7471f584443538718bbe6d529d73
2014-10-10  Tobias Burnus  <burnus@net-b.de>

gcc/fortran/
        * gfortran.h (gfc_set_implicit_none): Update prototype.
        * symbol.c (gfc_set_implicit_none): Take and
        use error location. Move diagnostic from here to ...
        * decl.c (gfc_match_implicit_none): ... here. And
        update call. Handle empty implicit-none-spec.
        (gfc_match_implicit): Handle statement-separator ";".

gcc/testsuite/
        * gfortran.dg/implicit_16.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216057 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/gfortran.h
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/implicit_16.f90 [new file with mode: 0644]