libgfortran.h (GFC_STD_F2015): Add.
authorTobias Burnus <burnus@net-b.de>
Mon, 6 Oct 2014 05:57:57 +0000 (07:57 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Mon, 6 Oct 2014 05:57:57 +0000 (07:57 +0200)
commit8b7a967ed4c20e00fc966e3d30a09fed74216dc7
tree3fd948e1c22f57c5745797415d9f60822a38992e
parent116886341f638b539387bc900bc513ebe5ad6696
libgfortran.h (GFC_STD_F2015): Add.

2014-10-06  Tobias Burnus  <burnus@net-b.de>

gcc/fortran/
        * libgfortran.h (GFC_STD_F2015): Add.
        * decl.c (gfc_match_implicit_none): Handle spec list.
        (gfc_match_implicit): Move double intrinsic warning here.
        * gfortran.h (gfc_namespace): Add has_implicit_none_export:1.
        (gfc_set_implicit_none): Update interface.
        * interface.c (gfc_procedure_use): Add implicit-none external
        error check.
        * parse.c (accept_statement): Remove call.
        (verify_st_order): Permit that external-implict-none follows
        implicit statement.
        * symbol.c (gfc_set_implicit_none): Handle external/type
        implicit none.

gcc/testsuite/
        * gfortran.dg/implicit_14.f90: New.
        * gfortran.dg/implicit_15.f90: New.
        * gfortran.dg/implicit_4.f90: Update dg-error.

From-SVN: r215914
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/gfortran.h
gcc/fortran/interface.c
gcc/fortran/parse.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/implicit_14.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/implicit_15.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/implicit_4.f90