]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/38915 (wrong results for structure assignment of character components...
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 31 Mar 2009 20:03:23 +0000 (20:03 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 31 Mar 2009 20:03:23 +0000 (20:03 +0000)
commitbf0d171aead0443d546cf48d714ea84ecbb6ab91
treef9137ff38dfef4f8d462e92348dbae3950b9f0b4
parentfba1b95f239ccead8ac1373c61a77e660efaa650
re PR fortran/38915 (wrong results for structure assignment of character components when left and right sides overlap)

2009-03-31  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38915
* trans-expr.c (gfc_trans_assignment_1): Ensure temporaries
have a string_length.

2009-03-31  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/38915
* gfortran.dg/char_length_15.f90: New test.

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