]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/29912 ([4.1 only] Gfortran: string array functions behaving incorrectly...)
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 5 Dec 2006 19:32:59 +0000 (19:32 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 5 Dec 2006 19:32:59 +0000 (19:32 +0000)
commitbab651ad74c5b68cbb1405fe407934d1d9f8aa77
tree86e3992ce63ff1b46d60b5b210ed049b7e036c03
parent66087ed002040eb81038cf79937500809590dadd
re PR fortran/29912 ([4.1 only] Gfortran: string array functions behaving incorrectly...)

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

PR fortran/29912
* trans-expr.c (gfc_trans_arrayfunc_assign): Return NULL if the
lhs and rhs character lengths are not constant and equal for
character array valued functions.

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

PR fortran/29912
* gfortran.dg/char_result_12.f90: New test.

From-SVN: r119554
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/char_result_12.f90 [new file with mode: 0644]