]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/25619 (temporary array of constant size character type goes wrong)
authorH.J. Lu <hjl@gcc.gnu.org>
Wed, 5 Apr 2006 04:47:51 +0000 (21:47 -0700)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 5 Apr 2006 04:47:51 +0000 (21:47 -0700)
commit20b1cbc33f4d16ccb359b70650d72988a2d4fbb1
tree6c69f4803b48dee15416ebf0372df25c81515254
parent4dea2268c3e078f87b7d6dae58c01ef816cb4ef9
re PR fortran/25619 (temporary array of constant size character type goes wrong)

gcc/fortran/

2006-04-04  H.J. Lu  <hongjiu.lu@intel.com>

PR fortran/25619
* trans-array.c (gfc_conv_expr_descriptor): Only dereference
character pointer when copying temporary.

PR fortran/23634
* trans-array.c (gfc_conv_expr_descriptor): Properly copy
temporary character with non constant size.

gcc/testsuite/

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

PR fortran/23634
PR fortran/25619
* gfortran.dg/actual_array_constructor_1.f90: New testcase.

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