trans-stmt.c (gfc_trans_pointer_assign_need_temp): Use fold_convert to avoid type...
commitcc2804f14fb5443a0ffa668ff8fe89c7a7bb7746
authorAndrew Pinski <pinskia@physics.uc.edu>
Mon, 9 Jan 2006 20:42:26 +0000 (9 20:42 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Mon, 9 Jan 2006 20:42:26 +0000 (9 12:42 -0800)
treea5d3f403cbfa0722378e9d7854026ac228c089ec
parent76150104aa8575fb795aed3648046e22618bc2a3
trans-stmt.c (gfc_trans_pointer_assign_need_temp): Use fold_convert to avoid type mismatch.

2006-01-09  Andrew Pinski  <pinskia@physics.uc.edu>

        fortran/24936
        * trans-stmt.c (gfc_trans_pointer_assign_need_temp): Use fold_convert
        to avoid type mismatch.

2006-01-09  Andrew Pinski  <pinskia@physics.uc.edu>

        fortran/24936
        * gfortran.dg/forall_3.f90: New test.

From-SVN: r109508
gcc/fortran/ChangeLog
gcc/fortran/trans-stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/forall_3.f90 [new file with mode: 0644]