From: Ronan Desplanques Date: Mon, 11 Aug 2025 15:34:50 +0000 (+0200) Subject: ada: Remove incorrect comment X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bda7699648d3e63261e712eddc6d912309d029d1;p=thirdparty%2Fgcc.git ada: Remove incorrect comment gcc/ada/ChangeLog: * sem_ch3.adb (Analyze_Incomplete_Type_Decl): Remove incorrect comment. --- diff --git a/gcc/ada/sem_ch3.adb b/gcc/ada/sem_ch3.adb index eae366e09d7..b91c6785b03 100644 --- a/gcc/ada/sem_ch3.adb +++ b/gcc/ada/sem_ch3.adb @@ -3608,11 +3608,7 @@ package body Sem_Ch3 is Generate_Definition (Defining_Identifier (N)); -- Process an incomplete declaration. The identifier must not have been - -- declared already in the scope. However, an incomplete declaration may - -- appear in the private part of a package, for a private type that has - -- already been declared. - - -- In this case, the discriminants (if any) must match + -- declared already in the scope. T := Find_Type_Name (N);