]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/39505 (Consider a 'no arg check' directive)
authorTobias Burnus <burnus@net-b.de>
Tue, 16 Apr 2013 20:54:21 +0000 (22:54 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Tue, 16 Apr 2013 20:54:21 +0000 (22:54 +0200)
commite7ac6a7cebc7af45319ac1b88d3f6071f0fed49e
treeae48f47ebf76afba5e32eeb6ff8fdc0fcb516a97
parentbafa0782ad3ba8e5c92196b00d76b38d69e3e1e1
re PR fortran/39505 (Consider a 'no arg check' directive)

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.

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