PR fortran/36265
commit51bd64793975eddff040d7f96228a9141a97ac97
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 May 2008 15:57:28 +0000 (19 15:57 +0000)
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 May 2008 15:57:28 +0000 (19 15:57 +0000)
tree7f3c89b56ee917a3b75582814978b80e0823bad4
parent724ad675e737e48a5b350e06c53fe2430f024134
PR fortran/36265

* trans-expr.c (gfc_conv_string_tmp): Pick the correct type for
the temporary variable.

* gfortran.dg/char_length_11.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135576 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/char_length_11.f90 [new file with mode: 0644]