re PR fortran/21912 (Wrong implied do-loop)
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Sun, 5 Jun 2005 18:03:47 +0000 (20:03 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Sun, 5 Jun 2005 18:03:47 +0000 (20:03 +0200)
commit86403f0f329ea996b6323d4011d5da0111ab80d8
treeaca102703133fcb176eb7117ca293736b7291bf9
parent88a7beb769bd14c1affeb7c801842058e3071ab6
re PR fortran/21912 (Wrong implied do-loop)

fortran/
PR fortran/21912
* trans-array.c (gfc_trans_array_constructor_value): Slightly reorder.
Generate correct exit condition in case of negative steps in
implied-do loops.
testsuite/
PR fortran/21912
* gfortran.dg/array_constructor_4.f90: New test.

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