]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Remove useless Set_Scope calls
authorRonan Desplanques <desplanques@adacore.com>
Fri, 18 Apr 2025 10:51:33 +0000 (12:51 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Mon, 30 Jun 2025 13:47:23 +0000 (15:47 +0200)
commit12aa6ad0d524fb7fa0f26a7d381a521b54fe1bdb
tree61c9313bbfe40bd4a4f87eced1c25eca1ca82848
parent23e1e5390492abce0fe9cd34413adce9a273640d
ada: Remove useless Set_Scope calls

This patch remove calls to Set_Scope that have no effect because of
subsequent calls to Append_Entity, which calls Set_Scope itself.

gcc/ada/ChangeLog:

* cstand.adb (Make_Aliased_Component, Make_Formal, New_Operator,
Create_Standard): Remove useless calls.
gcc/ada/cstand.adb