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
commit 310fe80babe04ccb7d2e15c8fca7dc98180701a8 Author: Tobias Burnus <tob...@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. */