From: Ronan Desplanques Date: Tue, 3 Jun 2025 13:01:36 +0000 (+0200) Subject: ada: Fix comment X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ef1727e34c766bd812357a27aac5109a10c48b89;p=thirdparty%2Fgcc.git ada: Fix comment 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. --- diff --git a/gcc/ada/exp_ch3.adb b/gcc/ada/exp_ch3.adb index 2372a9f11df..eec276ccd04 100644 --- a/gcc/ada/exp_ch3.adb +++ b/gcc/ada/exp_ch3.adb @@ -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