2013-04-12 Tobias Burnus <burnus@net-b.de>
commitfa76a552a067d82135c0df88f5fcec226d8ae740
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Apr 2013 20:54:21 +0000 (16 20:54 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 16 Apr 2013 20:54:21 +0000 (16 20:54 +0000)
treeae48f47ebf76afba5e32eeb6ff8fdc0fcb516a97
parent9d66f5d55b4bd621b3e10d9bc31968f58afb2e70
2013-04-12  Tobias Burnus  <burnus@net-b.de>

        PR fortran/39505
        * decl.c (ext_attr_list): Add EXT_ATTR_NO_ARG_CHECK.
        * gfortran.h (ext_attr_id_t): Ditto.
        * gfortran.texi (GNU Fortran Compiler Directives):
        Document it.
        * interface.c (compare_type_rank): Ignore rank for NO_ARG_CHECK.
        (compare_parameter): Ditto - and regard as unlimited polymorphic.
        * resolve.c (resolve_symbol, resolve_variable): Add same
        * constraint
        checks as for TYPE(*); turn dummy to TYPE(*),dimension(*).
        (gfc_explicit_interface_required): Require explicit interface
        for NO_ARG_CHECK.

2013-04-12  Tobias Burnus  <burnus@net-b.de>

        PR fortran/39505
        * gfortran.dg/no_arg_check_1.f90: New.
        * gfortran.dg/no_arg_check_2.f90: New.
        * gfortran.dg/no_arg_check_3.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198011 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/gfortran.h
gcc/fortran/gfortran.texi
gcc/fortran/interface.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/no_arg_check_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/no_arg_check_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/no_arg_check_3.f90 [new file with mode: 0644]