]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/array.c
re PR fortran/16222 (non-integral DO loop variables are unsupported.)
authorSteven G. Kargl <kargls@comcast.net>
Sun, 12 Dec 2004 20:27:02 +0000 (20:27 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Sun, 12 Dec 2004 20:27:02 +0000 (20:27 +0000)
commit8d5cfa2765f170e387cd221cae28f20a82a35d60
treee2fd9e2cb7716c7282cc9fde4e0730ebf784736d
parent973cb10b2d39d34d44fed8ffc12700ab3eca2ece
re PR fortran/16222 (non-integral DO loop variables are unsupported.)

2004-12-12  Steven G. Kargl  <kargls@comcast.net>
Paul Brook  <paul@codesourcery.com>

PR fortran/16222
* resolve.c (gfc_resolve_iterator_expr): New function.
(gfc_resolve_iterator): Use it.  Add real_ok argument.  Convert
start, end and stride to correct type.
(resolve_code): Pass extra argument.
* array.c (resolve_array_list): Pass extra argument.
* gfortran.h (gfc_resolve): Add prototype.
* trans-stmt.c (gfc_trans_do): Remove redundant type conversions.
Handle real type iterators.
testsuite/
* gfortran.dg/real_do_1.f90: New test.

Co-Authored-By: Paul Brook <paul@codesourcery.com>
From-SVN: r92057
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/fortran/gfortran.h
gcc/fortran/resolve.c
gcc/fortran/trans-stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/real_do_1.f90 [new file with mode: 0644]