aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/class.c
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2012-09-03 08:45:35 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2012-09-03 08:45:35 +0200
commitbc7a23378ec5ce18d403f0b0722978fdf828beea (patch)
tree54ac0d5a0e4d9a0858faeb646d373df0c58b4fdc /gcc/fortran/class.c
parent8e54f1392c4e7d310e0e9b4180ba8072ed95f072 (diff)
downloadgcc-bc7a23378ec5ce18d403f0b0722978fdf828beea.zip
gcc-bc7a23378ec5ce18d403f0b0722978fdf828beea.tar.gz
gcc-bc7a23378ec5ce18d403f0b0722978fdf828beea.tar.bz2
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
Diffstat (limited to 'gcc/fortran/class.c')
-rw-r--r--gcc/fortran/class.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fortran/class.c b/gcc/fortran/class.c
index 38a4ddb..71065d2 100644
--- a/gcc/fortran/class.c
+++ b/gcc/fortran/class.c
@@ -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