This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/51972] [OOP] Wrong code as _copy does not honor CLASS components


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51972

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-29 20:02:25 UTC ---
Author: burnus
Date: Sun Jan 29 20:02:19 2012
New Revision: 183680

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183680
Log:
2012-01-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/51972
        * trans-array.c (structure_alloc_comps): Fix assignment of
        polymorphic components (polymorphic deep copying).

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

        PR fortran/51972
        * gfortran.dg/class_allocate_12.f90: Enable disabled test.
        * gfortran.dg/class_48.f90: New.


Added:
    trunk/gcc/testsuite/gfortran.dg/class_48.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/class_allocate_12.f90


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]