re PR fortran/41600 ([OOP] SELECT TYPE with associate-name => exp: Arrays not supported)
authorTobias Burnus <burnus@net-b.de>
Sun, 29 Jan 2012 20:51:19 +0000 (21:51 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Sun, 29 Jan 2012 20:51:19 +0000 (21:51 +0100)
commit0b673c092d05972aba4b99a47b4aea039f022d79
tree3a7105a717a7135837ca23018baeaa96120e3127
parentcc19bc7fdd93110ad07d6a6e2e28bdc974593df8
re PR fortran/41600 ([OOP] SELECT TYPE with associate-name => exp: Arrays not supported)

2012-01-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41600
        * expr.c (gfc_default_initializer): Convert the values if
        the type does not match.

2012-01-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41600
        * gfortran.dg/default_initialization_6.f90: New.

Co-Authored-By: Steven G. Kargl <kargl@gcc.gnu.org>
From-SVN: r183682
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/default_initialization_6.f90 [new file with mode: 0644]