]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
class.c (finalize_component): Fixes to the comment.
authorTobias Burnus <burnus@net-b.de>
Mon, 3 Sep 2012 06:45:35 +0000 (08:45 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Mon, 3 Sep 2012 06:45:35 +0000 (08:45 +0200)
2012-09-03  Tobias Burnus  <burnus@net-b.de>

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

From-SVN: r190870

gcc/fortran/ChangeLog
gcc/fortran/class.c

index 6032a1a6a3e3d9d43cf7eba5f35496bbfdc8b841..201f4dc3228ce93712794029d61bc985e783b23a 100644 (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>
 
index 38a4ddb5302e17376b99e3ad77d16ff81837b10b..71065d25841d30a8e2904eccc289595b0884f935 100644 (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