]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Fix comment
authorRonan Desplanques <desplanques@adacore.com>
Tue, 3 Jun 2025 13:01:36 +0000 (15:01 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Thu, 3 Jul 2025 08:16:22 +0000 (10:16 +0200)
This patch fixes a comment that wrongly stated that no dispatch entry
for deep finalize was created for limited tagged types.

gcc/ada/ChangeLog:

* exp_ch3.adb (Make_Predefined_Primitive_Specs): Fix comment.

gcc/ada/exp_ch3.adb

index 2372a9f11df1db6ae4d2e43671b32f62a63895c8..eec276ccd044a8d3d9f588600591bf29a4d403bd 100644 (file)
@@ -342,9 +342,9 @@ package body Exp_Ch3 is
    --     typSO          provides result of 'Output attribute
    --     typPI          provides result of 'Put_Image attribute
    --
-   --  The following entries are additionally present for non-limited tagged
-   --  types, and implement additional dispatching operations for predefined
-   --  operations:
+   --  The following entries implement additional dispatching operations for
+   --  predefined operations. Deep finalization is present on all tagged types;
+   --  the others only on nonlimited tagged types:
    --
    --     _equality      implements "=" operator
    --     _assign        implements assignment operation