gfortran.h (gfc_set_implicit_none): Update prototype.
authorTobias Burnus <burnus@net-b.de>
Fri, 10 Oct 2014 06:00:26 +0000 (08:00 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Fri, 10 Oct 2014 06:00:26 +0000 (08:00 +0200)
commita6c631732fc35dc6948e7a1810b78eef3a11af97
tree5afdf90c58115030af219c47b0a8c549eb3748ea
parent548cb3d77c81104778f4cbc4d97410cb31a64971
gfortran.h (gfc_set_implicit_none): Update prototype.

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.

From-SVN: r216057
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]