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)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Apr 2010 08:34:41 +0000 (08:34 +0000)
commite2ab564d100612d6415ce2dc2e7dc19024ae2bc7
tree3b644ac3468bdfc3f3d146ccfd9417222f96a056
parent7da6fed24cd373c9205ef0bbc098a5123e7e29f6
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
gcc/testsuite/gfortran.dg/assign_10.f90
gcc/testsuite/gfortran.dg/vector_subscript_6.f90 [new file with mode: 0644]