re PR fortran/24557 (ICE: PRINTing function result of size depending on assumed lengt...
authorPaul Thomas <pault@gcc.gnu.org>
Thu, 16 Feb 2006 07:04:13 +0000 (07:04 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Thu, 16 Feb 2006 07:04:13 +0000 (07:04 +0000)
commited78a1162c2658c6cbe9f3d1948ee41244fd425c
treece717e2105716a8c1631ac2cc1cd0ee39d308c7c
parent1929b9988c98e9a806b57e73fd3a9885b63643e0
re PR fortran/24557 (ICE: PRINTing function result of size depending on assumed length CHARACTER dummy)

2005-02-16  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/24557
* trans-expr.c (gfc_add_interface_mapping): Use the actual argument
for character(*) arrays, rather than casting to the type and kind
parameters of the formal argument.

2005-02-16  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/24557
        * gfortran.dg/assumed_charlen_needed_1.f90: New test.

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