diff mbox series

[committed] Fortran: class.c - update vtable comment

Message ID ed1e71a4-095a-a9b6-9dd6-77cab4ffc593@codesourcery.com
State New
Headers show
Series [committed] Fortran: class.c - update vtable comment | expand

Commit Message

Tobias Burnus Oct. 21, 2020, 12:42 p.m. UTC
I was confused as I saw _deallocate – but didn't show up
in the big comment at the beginning of class.c.
Hence, I added it.

Committed as r11-4186-g310fe80babe04ccb7d2e15c8fca7dc98180701a8
but if you have have follow-up suggestions, we can surely change it.

Tobias

-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter
diff mbox series

Patch

commit 310fe80babe04ccb7d2e15c8fca7dc98180701a8
Author: Tobias Burnus <tobias@codesourcery.com>
Date:   Wed Oct 21 14:38:44 2020 +0200

    Fortran: class.c - update vtable comment
    
    gcc/fortran/
            PR fortran/45516
            * class.c: Add _deallocate to the vtable documentation
            comment.

diff --git a/gcc/fortran/class.c b/gcc/fortran/class.c
index dfa48400712..5677d920239 100644
--- a/gcc/fortran/class.c
+++ b/gcc/fortran/class.c
@@ -49,6 +49,8 @@  along with GCC; see the file COPYING3.  If not see
     * _copy:     A procedure pointer to a copying procedure.
     * _final:    A procedure pointer to a wrapper function, which frees
 		 allocatable components and calls FINAL subroutines.
+    * _deallocate: A procedure pointer to a deallocation procedure; nonnull
+		 only for a recursive derived type.
 
    After these follow procedure pointer components for the specific
    type-bound procedures.  */