re PR fortran/28118 (ICE calling subroutine defined via explicit interface)
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 24 Jun 2006 13:04:37 +0000 (13:04 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 24 Jun 2006 13:04:37 +0000 (13:04 +0000)
commit32fdfa2dfadae6448ed8a7229952120aa3b005bb
tree51380b5f1c5f43b3507b40c0d72285be2606774c
parent61c25908fdbf3b6c29334ff84b30fcfaa2e29880
re PR fortran/28118 (ICE calling subroutine defined via explicit interface)

2006-06-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28118
* trans-array.c (gfc_conv_expr_descriptor): When building temp,
use the substring reference to calculate the length if the
expression does not have a charlen.

2006-06-24  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28118
* gfortran.dg/actual_array_substr_1.f90: New test.

From-SVN: r114964
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/actual_array_substr_1.f90 [new file with mode: 0644]