re PR fortran/56845 ([OOP] _vptr not set to declared type for CLASS + SAVE)
authorTobias Burnus <burnus@net-b.de>
Fri, 12 Apr 2013 08:54:15 +0000 (10:54 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Fri, 12 Apr 2013 08:54:15 +0000 (10:54 +0200)
commite1e3b9d3359ea668c7581f6673bdeeb59b085d24
tree734b2c409aebc24d8dccec0572fcd7266125edc1
parent06f9b387e517d6f54b6c9b35d4f972bc1542855c
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): Restrict
        static CLASS init to SAVE and -fno-automatic.

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

        PR fortran/56845
        * gfortran.dg/class_allocate_15.f90: New.

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

        * gfortran.dg/coarray_lib_alloc_2.f90: Update
        scan-tree-dump-times.

From-SVN: r197848
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_allocate_15.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/coarray_lib_alloc_2.f90