https://gcc.gnu.org/g:bda7699648d3e63261e712eddc6d912309d029d1
commit r16-3713-gbda7699648d3e63261e712eddc6d912309d029d1 Author: Ronan Desplanques <[email protected]> Date: Mon Aug 11 17:34:50 2025 +0200 ada: Remove incorrect comment gcc/ada/ChangeLog: * sem_ch3.adb (Analyze_Incomplete_Type_Decl): Remove incorrect comment. Diff: --- gcc/ada/sem_ch3.adb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gcc/ada/sem_ch3.adb b/gcc/ada/sem_ch3.adb index eae366e09d7b..b91c6785b035 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);
