https://gcc.gnu.org/g:3b28ad158ebd51f417fd757b32ee4780e669319f
commit r16-4980-g3b28ad158ebd51f417fd757b32ee4780e669319f Author: Marc Poulhiès <[email protected]> Date: Fri Oct 10 11:08:34 2025 +0200 ada: Remove outdated comment The comment has been documenting a 'Present(S)' that has been long gone (>17y). gcc/ada/ChangeLog: * sem_aux.adb (Enclosing_Dynamic_Scope): Remove comment. Diff: --- gcc/ada/sem_aux.adb | 3 --- 1 file changed, 3 deletions(-) diff --git a/gcc/ada/sem_aux.adb b/gcc/ada/sem_aux.adb index 58a4beb221db..107e27e2e43f 100644 --- a/gcc/ada/sem_aux.adb +++ b/gcc/ada/sem_aux.adb @@ -184,9 +184,6 @@ package body Sem_Aux is -- Normal case, search enclosing scopes - -- Note: the test for Present (S) should not be required, it defends - -- against an ill-formed tree. - S := Scope (Ent); loop -- If we somehow got an empty value for Scope, the tree must be
