OSDN Git Service

2010-04-22 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Apr 2010 08:34:41 +0000 (08:34 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 04:38:52 +0000 (13:38 +0900)
commit99fe3c916ec22b0d4542e354332f26cc4d8e6dce
tree4cbb7443665fafdfffec1aee7f49acfcd2dc20a0
parent67eabe0d73e1e7a7be2bce179140061a630a603a
2010-04-22  Richard Guenther  <rguenther@suse.de>

PR fortran/43829
* resolve.c (gfc_resolve_index): Wrap around ...
(gfc_resolve_index_1): ... this.  Add parameter to allow
any integer kind index type.
(resolve_array_ref): Allow any integer kind for the start
index of an array ref.

* gfortran.dg/vector_subscript_6.f90: New testcase.
* gfortran.dg/assign_10.f90: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158632 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog