gcc/fortran/
commitfc509e4c0b88bebe41b103695c3cfeab4f295766
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Jun 2009 21:52:32 +0000 (4 21:52 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Jun 2009 21:52:32 +0000 (4 21:52 +0000)
tree2573fcb7934904f713efb009a145552958bc057d
parent4e732ea81837f14aca096ad87f8ff231dd66f0eb
gcc/fortran/
2009-06-04  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/37203
        * check.c (gfc_check_reshape): Additional checks for the
        SHAPE and ORDER arguments.
        * simplify.c (gfc_simplify_reshape): Converted argument checks
        to asserts.

gcc/testsuite/
2009-06-04  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/37203
        * gfortran.dg/reshape_order_5.f90: New.
        * gfortran.dg/reshape_shape_1.f90: New.

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