2011-05-27 Tobias Burnus <burnus@net-b.de>
commitb3a2ccd79bdb6fc553e882d03398e989e963a939
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 May 2011 18:51:31 +0000 (27 18:51 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 May 2011 18:51:31 +0000 (27 18:51 +0000)
tree341533aad243abe6b029ec89d06762f65a06ebd9
parent8fa175ca1cc714f62ad6273c9dce08e3ba8dd7a0
2011-05-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/48820
        * gfortran.h (gfc_isym_id): Add GFC_ISYM_RANK.
        * intrinsic.c (add_functions): Add rank intrinsic.
        (gfc_check_intrinsic_standard): Handle GFC_STD_F2008_TR.
        * intrinsic.h (gfc_simplify_rank, gfc_check_rank): Add
        * prototypes.
        * simplify.c (gfc_simplify_rank): New function.
        * intrinsic.texi (RANK): Add description for rank intrinsic.
        * check.c (gfc_check_rank): New function.

2011-05-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/48820
        * gfortran.dg/rank_3.f90: New.
        * gfortran.dg/rank_4.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174348 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/gfortran.h
gcc/fortran/intrinsic.c
gcc/fortran/intrinsic.h
gcc/fortran/intrinsic.texi
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/rank_3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/rank_4.f90 [new file with mode: 0644]