re PR fortran/49074 ([OOP] Defined assignment w/ CLASS arrays: Incomplete error message)
authorMikael Morin <mikael@gcc.gnu.org>
Thu, 13 Jun 2013 14:26:47 +0000 (14:26 +0000)
committerMikael Morin <mikael@gcc.gnu.org>
Thu, 13 Jun 2013 14:26:47 +0000 (14:26 +0000)
commit37ea263afa8f68bc7a6fcda19a47eb645624ecb7
tree72e6325d1a51b2eab4943e585e211866a24869c3
parente5b962d0ccb213b6ad1f2ba4d6a0b84c9e94b046
re PR fortran/49074 ([OOP] Defined assignment w/ CLASS arrays: Incomplete error message)

fortran/
PR fortran/49074
* trans-expr.c (gfc_conv_variable): Don't walk the reference chain.
Handle NULL array references.
(gfc_conv_procedure_call): Remove code handling NULL array references.

testsuite/
PR fortran/49074
* gfortran.dg/typebound_assignment_5.f03: New.

From-SVN: r200069
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog