summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2022-08-01 10:51:46 +0200
committerMarc Poulhiès <poulhies@adacore.com>2022-09-05 09:21:06 +0200
commit2f578c3e50eb14d89087e2b34fd856c44b086123 (patch)
tree53872a6930104e5b677070d6f0fb50c02568dd03
parentcb6ff9e4198c6cd5abd915e271ea33d50f48b3d8 (diff)
downloadgcc-2f578c3e50eb14d89087e2b34fd856c44b086123.tar.gz
[Ada] Remove VMS specific routine that is no longer referenced
Code cleanup related to resctrition No_Local_Allocators. gcc/ada/ * exp_util.ads (Entry_Names_OK): Remove spec. * exp_util.adb (Entry_Names_OK): Remove body.
-rw-r--r--gcc/ada/exp_util.adb13
-rw-r--r--gcc/ada/exp_util.ads5
2 files changed, 0 insertions, 18 deletions
diff --git a/gcc/ada/exp_util.adb b/gcc/ada/exp_util.adb
index 2be81a544a8..0bc22a4b5a1 100644
--- a/gcc/ada/exp_util.adb
+++ b/gcc/ada/exp_util.adb
@@ -5187,19 +5187,6 @@ package body Exp_Util is
end if;
end Ensure_Defined;
- --------------------
- -- Entry_Names_OK --
- --------------------
-
- function Entry_Names_OK return Boolean is
- begin
- return
- not Restricted_Profile
- and then not Global_Discard_Names
- and then not Restriction_Active (No_Implicit_Heap_Allocations)
- and then not Restriction_Active (No_Local_Allocators);
- end Entry_Names_OK;
-
-------------------
-- Evaluate_Name --
-------------------
diff --git a/gcc/ada/exp_util.ads b/gcc/ada/exp_util.ads
index d854672ccd8..a21fb8b5c2a 100644
--- a/gcc/ada/exp_util.ads
+++ b/gcc/ada/exp_util.ads
@@ -509,11 +509,6 @@ package Exp_Util is
-- used to ensure that an Itype is properly defined outside a conditional
-- construct when it is referenced in more than one branch.
- function Entry_Names_OK return Boolean;
- -- Determine whether it is appropriate to dynamically allocate strings
- -- which represent entry [family member] names. These strings are created
- -- by the compiler and used by GDB.
-
procedure Evaluate_Name (Nam : Node_Id);
-- Remove all side effects from a name which appears as part of an object
-- renaming declaration. Similarly to Force_Evaluation, it removes the