2006-02-14 Thomas Koenig <Thomas.Koenig@online.de>
commit48b87d3c34410050081bc9e1262ad091863656aa
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Feb 2006 19:25:36 +0000 (14 19:25 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 14 Feb 2006 19:25:36 +0000 (14 19:25 +0000)
tree3d3ad82e9ba7346317222ce9dd164bc1c566f55b
parent44a4c8df3bff6cbdb8631f06496843d8c3f5ebbc
2006-02-14  Thomas Koenig  <Thomas.Koenig@online.de>

        PR fortran/25045
        * check.c (dim_check):  Perform all checks if dim is optional.
        (gfc_check_minloc_maxloc):  Use dim_check and dim_rank_check
        to check dim argument.
        (check_reduction):  Likewise.

2006-02-14  Thomas Koenig  <Thomas.Koenig@online.de>

        PR fortran/25045
        * optional_dim.f90:  New test.

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