https://gcc.gnu.org/g:fc23c496e123be827df0e0d768a81a1204746e5a
commit r16-1851-gfc23c496e123be827df0e0d768a81a1204746e5a Author: Eric Botcazou <ebotca...@adacore.com> Date: Tue May 6 09:03:44 2025 +0200 ada: Remove dead assignment The assignment sets the Etype of a node to itsef. gcc/ada/ChangeLog: * sem_ch4.adb (Analyze_Allocator): Do not set Etype to itself. Diff: --- gcc/ada/sem_ch4.adb | 2 -- 1 file changed, 2 deletions(-) diff --git a/gcc/ada/sem_ch4.adb b/gcc/ada/sem_ch4.adb index ec48edda9f40..89beb2b9a7e0 100644 --- a/gcc/ada/sem_ch4.adb +++ b/gcc/ada/sem_ch4.adb @@ -594,8 +594,6 @@ package body Sem_Ch4 is -- part of the allocator. It is fully analyzed and resolved when -- the allocator is resolved with the context type. - Set_Etype (E, Type_Id); - -- Case where allocator has a subtype indication else