class.c (finalize_component): Fixes to the comment.

2012-09-03  Tobias Burnus  <burnus@net-b.de>

        * class.c (finalize_component): Fixes to the comment.

From-SVN: r190870
This commit is contained in:
Tobias Burnus 2012-09-03 08:45:35 +02:00 committed by Tobias Burnus
parent 8e54f1392c
commit bc7a23378e
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2012-09-03 Tobias Burnus <burnus@net-b.de>
* class.c (finalize_component): Fixes to the comment.
2012-09-03 Alessandro Fanfarillo <fanfarillo.gcc@gmail.com>
Tobias Burnus <burnus@net-b.de>

View File

@ -720,8 +720,8 @@ has_finalizer_component (gfc_symbol *derived)
/* Call DEALLOCATE for the passed component if it is allocatable, if it is
neither allocatable nor a pointer but has a finalizer, call it. If it
is a nonpointer component with allocatable or finalizes components, walk
them. Either of the is required; other nonallocatables and pointers aren't
is a nonpointer component with allocatable components or has finalizers, walk
them. Either of them is required; other nonallocatables and pointers aren't
handled gracefully.
Note: If the component is allocatable, the DEALLOCATE handling takes care
of calling the appropriate finalizers, coarray deregistering, and