re PR fortran/88393 ([OOP] Segfault with type-bound assignment)
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 2 Feb 2019 09:23:30 +0000 (09:23 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 2 Feb 2019 09:23:30 +0000 (09:23 +0000)
commita3df90b9672562d0e2feeb093e20c1d21bd4cca5
treeba47a20a3b4104c8f850b90fc2e9af997666aebb
parentda46c08e8b857d8ffc2332689e19c5277d25e7fd
re PR fortran/88393 ([OOP] Segfault with type-bound assignment)

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

PR fortran/88393
* trans-expr.c (gfc_conv_procedure_call): For derived entities,
passed in parentheses to class formals, invert the order of
copying allocatable components to taking the _data of the
class expression.

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

PR fortran/88393
* gfortran.dg/alloc_comp_assign_16.f03 : New test.

From-SVN: r268474
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/alloc_comp_assign_16.f03 [new file with mode: 0644]