PR fortran/78757
commit848c151914b84649716fd9b7df55a641a78417c8
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Dec 2016 19:41:13 +0000 (16 19:41 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Dec 2016 19:41:13 +0000 (16 19:41 +0000)
tree30ead16302dba1ee72ae8b041d1a060178ebf480
parentc68b7f595c60737ca86b4913a300bdc2e3448dd8
PR fortran/78757
* trans-expr.c (gfc_conv_procedure_call): Emit DECL_EXPR for the
type pstr var points to.

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

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