diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2010-08-09 19:34:49 +0000 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2010-08-09 19:34:49 +0000 |
commit | ee247636108baa13ae1f5322cb048d7c05a418cc (patch) | |
tree | e8a74351fdd3fd516d43ad305c53af81d3ee674d /gcc/cp | |
parent | 1ddfdcf2df840ed6754d99630a3e1b7247ef9ead (diff) | |
download | gcc-ee247636108baa13ae1f5322cb048d7c05a418cc.zip gcc-ee247636108baa13ae1f5322cb048d7c05a418cc.tar.gz gcc-ee247636108baa13ae1f5322cb048d7c05a418cc.tar.bz2 |
re PR fortran/44235 (array temporary with high upper bound)
2010-08-09 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/44235
* array.c (gfc_ref_dimen_size): Add end argument.
If end is non-NULL, calculate it.
(ref_size): Adjust call to gfc_ref_dimen_size.
(gfc_array_dimen_size): Likewise.
(gfc_array_res_shape): Likewise.
* gfortran.h: Adjust prototype for gfc_ref_dimen_size.
* resolve.c (resolve_array_ref): For stride not equal to -1,
fill in the lowest possible end.
2010-08-09 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/44235
* gfortran.dg/dependency_32.f90: New test.
From-SVN: r163041
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions