PR fortran/18899
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Sep 2005 08:07:15 +0000 (08:07 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Sep 2005 08:07:15 +0000 (08:07 +0000)
commitec9200dc186d96741a2e2f9fee6a8f291ce1e647
tree4ffb56101370a9ad4a80a7d08f8ff17f9bffa6b7
parent4f62605b84a6f6be88c854271a718cd721377c2b
PR fortran/18899
* trans-intrinsic.c (gfc_conv_intrinsic_bound): Move initialization
of argse.  Remove now-redundant want_pointer assignment.
* trans-array.c (gfc_conv_expr_descriptor): When not assigning to
a pointer, keep the original bounds of a full array reference.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104219 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/fortran/trans-intrinsic.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/shape_2.f90 [new file with mode: 0644]