]> gcc.gnu.org Git - gcc.git/commit - gcc/fortran/trans-decl.c
re PR fortran/56845 ([OOP] _vptr not set to declared type for CLASS + SAVE)
authorTobias Burnus <burnus@gcc.gnu.org>
Fri, 12 Apr 2013 07:41:50 +0000 (09:41 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Fri, 12 Apr 2013 07:41:50 +0000 (09:41 +0200)
commitf118468ab665a749c16e65f53057ca1278b3ceec
tree41fd411a215082874b62193b735de66401499a64
parentbb50698284eaaf849182f78779af4b3fde7503e1
re PR fortran/56845 ([OOP] _vptr not set to declared type for CLASS + SAVE)

2013-04-12  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56845
        * trans-decl.c (gfc_trans_deferred_vars): Set _vptr for
        allocatable static BT_CLASS.
        * trans-expr.c (gfc_class_set_static_fields): New function.
        * trans.h (gfc_class_set_static_fields): New prototype.

2013-04-12  Tobias Burnus  <burnus@net-b.de>

        PR fortran/56845
        * gfortran.dg/class_allocate_14.f90: New.
        * gfortran.dg/coarray_lib_alloc_2.f90: Update
        * scan-tree-dump-times.
        * gfortran.dg/coarray_lib_alloc_3.f90: New.

From-SVN: r197844
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/fortran/trans-expr.c
gcc/fortran/trans.h
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_allocate_14.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/coarray_lib_alloc_2.f90
gcc/testsuite/gfortran.dg/coarray_lib_alloc_3.f90 [new file with mode: 0644]
This page took 0.068125 seconds and 5 git commands to generate.