From bda7699648d3e63261e712eddc6d912309d029d1 Mon Sep 17 00:00:00 2001 From: Ronan Desplanques Date: Mon, 11 Aug 2025 17:34:50 +0200 Subject: [PATCH] ada: Remove incorrect comment gcc/ada/ChangeLog: * sem_ch3.adb (Analyze_Incomplete_Type_Decl): Remove incorrect comment. --- 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 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); -- 2.47.3