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



--- Comment #17 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-12-03 
21:13:50 UTC ---

Author: burnus

Date: Mon Dec  3 21:13:42 2012

New Revision: 194104



URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194104

Log:

2012-12-03  Tobias Burnus  <bur...@net-b.de>

            Janus Weil  <ja...@gcc.gnu.org>



        PR fortran/37336

        * class.c (gfc_is_finalizable): New function.

        * gfortran.h (gfc_is_finalizable): Its prototype.

        * module.c (mio_component): Read initializer for vtype's _final.

        * resolve.c (resolve_fl_derived0): Call gfc_is_finalizable.

        * trans-expr.c (gfc_vtable_final_get): New function.

        (conv_parent_component_references): Fix comment.

        (gfc_conv_variable): Fix for scalar coarray components.

        * trans-intrinsic.c (conv_intrinsic_move_alloc): For BT_CLASS,

        pass the BT_CLASS type and not the declared type to

        gfc_deallocate_scalar_with_status.

        * trans.h (gfc_vtable_final_get): New prototype.





Modified:

    trunk/gcc/fortran/ChangeLog

    trunk/gcc/fortran/class.c

    trunk/gcc/fortran/gfortran.h

    trunk/gcc/fortran/module.c

    trunk/gcc/fortran/resolve.c

    trunk/gcc/fortran/trans-expr.c

    trunk/gcc/fortran/trans-intrinsic.c

    trunk/gcc/fortran/trans.h

Reply via email to