OSDN Git Service

2011-01-31 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 Jan 2011 19:13:13 +0000 (19:13 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 Jan 2011 19:13:13 +0000 (19:13 +0000)
commit4ac968e7dd021116ee8f81f9a2063a32f6a2c61a
tree05fa8bedfa01cd41411713a530eb7ef6c57e85ae
parent4cc3facbd10d83ab33443152817cac53296e577b
2011-01-31  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/47519
* trans-stmt.c (gfc_trans_allocate): Improve handling of
deferred character lengths with SOURCE.
* iresolve.c (gfc_resolve_repeat): Calculate character
length from source length and ncopies.
* dump-parse-tree.c (show_code_node): Show MOLD and SOURCE
expressions for ALLOCATE.

2011-01-31  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/47519
* gfortran.dg/allocate_deferred_char_scalar_2.f03: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169444 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/dump-parse-tree.c
gcc/fortran/iresolve.c
gcc/fortran/trans-stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocate_deferred_char_scalar_2.f03 [new file with mode: 0644]