]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ada: Remove useless calls
authorRonan Desplanques <desplanques@adacore.com>
Wed, 12 Feb 2025 09:34:06 +0000 (10:34 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Fri, 6 Jun 2025 08:37:02 +0000 (10:37 +0200)
The subprogram calls this patch removes were useless because they were
already made in New_Standard_Entity.

gcc/ada/ChangeLog:

* cstand.adb (Create_Standard): Remove useless calls.

gcc/ada/cstand.adb

index 5ba88b9ae1c9f6548cd961a89325945011b43442..41b0fec157fc51dc886890c75563e9da12de16a7 100644 (file)
@@ -629,8 +629,6 @@ package body CStand is
             Decl := New_Node (N_Full_Type_Declaration, Stloc);
          end if;
 
-         Set_Is_Frozen (Standard_Entity (S));
-         Set_Is_Public (Standard_Entity (S));
          Set_Defining_Identifier (Decl, Standard_Entity (S));
          Append (Decl, Decl_S);
       end loop;