]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/34537 (ICE or wrong code for TRANSFER of constant string to character)
authorPaul Thomas <pault@gcc.gnu.org>
Fri, 11 Jan 2008 18:25:29 +0000 (18:25 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Fri, 11 Jan 2008 18:25:29 +0000 (18:25 +0000)
commitd9183bb7443a3cb85cd170a2527d5b22848907bb
tree6b3851460e79b62e49a41d6c930d14975ef4d795
parentc1e3e2d94487bf594494cbb8cd32aa332124cd33
re PR fortran/34537 (ICE or wrong code for TRANSFER of constant string to character)

2008-01-11  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34537
* simplify.c (gfc_simplify_transfer): Return NULL if the size
of the element is unavailable and only assign character length
to the result, if 'mold' is constant.

2008-01-11  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/34537
* gfortran.dg/transfer_simplify_8.f90: New test.

From-SVN: r131470
gcc/fortran/ChangeLog
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/transfer_simplify_8.f90 [new file with mode: 0644]