re PR fortran/35937 (Wrong type for charlength of function)
commit18dd272dfd6b077c005f4e1a0a6cb4ffa906bed4
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 14 Dec 2008 16:00:25 +0000 (14 16:00 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 14 Dec 2008 16:00:25 +0000 (14 16:00 +0000)
tree368ee8ba6269adb05f34e2599d8d989efed3ba4e
parent73793745269e8334807a606ea4d011215209ce0c
re PR fortran/35937 (Wrong type for charlength of function)

2008-12-14  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/35937
* trans-expr.c (gfc_finish_interface_mapping): Fold convert the
character length to gfc_charlen_type_node.

2008-12-14  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/35937
* gfortran.dg/char_length_14.f90: New test.

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