re PR fortran/30073 (Array out of bounds gives name of RHS array not LHS array)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 24 Apr 2010 20:32:04 +0000 (20:32 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Sat, 24 Apr 2010 20:32:04 +0000 (20:32 +0000)
commit8583a5123e24fd75f42d9d1afa610dcce1181623
treebce094af1ae6ff42fe85335230fd8ef39a6ff460
parent423b2799961457c7c494e50a727d612318dccae7
re PR fortran/30073 (Array out of bounds gives name of RHS array not LHS array)

2010-04-24  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/30073
        PR fortran/43793
        * trans-array.c (gfc_trans_array_bound_check): Use TREE_CODE instead
        of mucking with a tree directly.

2010-04-24  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/30073
        PR fortran/43793
        gfortran.dg/pr43793.f90: New test.

From-SVN: r158692
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr43793.f90 [new file with mode: 0644]