re PR fortran/51514 ([OOP] Wrong code when passing a scalar CLASS to a TYPE)
authorTobias Burnus <burnus@net-b.de>
Tue, 7 Feb 2012 08:15:14 +0000 (09:15 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Tue, 7 Feb 2012 08:15:14 +0000 (09:15 +0100)
commit38cbc63a76d7502c58c82402d6227ba78f5e2dc0
treeb368b5a5ba0cd4c8777cc6ffa787f9054825b052
parent6009801342e283463cc15fe9aa514d162df7c430
re PR fortran/51514 ([OOP] Wrong code when passing a scalar CLASS to a TYPE)

2012-02-07  Tobias Burnus  <burnus@net-b.de>

        PR fortran/51514
        * trans-expr.c (gfc_conv_procedure_call): Add _data component
        for calls of scalar CLASS actuals to TYPE dummies.

2012-02-07  Tobias Burnus  <burnus@net-b.de>

        PR fortran/51514
        * gfortran.dg/class_to_type_2.f90: New.

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