[gcc r16-1312] ada: Remove outdated comment
Marc Poulhies
dkm@gcc.gnu.org
Mon Jun 9 06:38:55 GMT 2025
https://gcc.gnu.org/g:5fba1c986d619908174bb27dd1478c80e2007818
commit r16-1312-g5fba1c986d619908174bb27dd1478c80e2007818
Author: Ronan Desplanques <desplanques@adacore.com>
Date: Mon Mar 3 15:42:32 2025 +0100
ada: Remove outdated comment
This patch removes a comment that was made incorrect by the introduction
of Is_Self_Hidden.
gcc/ada/ChangeLog:
* sem_ch3.adb (Analyze_Object_Declaration): Remove comment.
Diff:
---
gcc/ada/sem_ch3.adb | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/gcc/ada/sem_ch3.adb b/gcc/ada/sem_ch3.adb
index 690d66889588..a8764db65032 100644
--- a/gcc/ada/sem_ch3.adb
+++ b/gcc/ada/sem_ch3.adb
@@ -4659,9 +4659,7 @@ package body Sem_Ch3 is
Set_Has_Completion (Id);
end if;
- -- Set type and resolve (type may be overridden later on). Note:
- -- Ekind (Id) must still be E_Void at this point so that incorrect
- -- early usage within E is properly diagnosed.
+ -- Set type and resolve (type may be overridden later on)
Set_Etype (Id, T);
More information about the Gcc-cvs
mailing list