aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/restrict.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/restrict.adb')
-rw-r--r--gcc/ada/restrict.adb9
1 files changed, 2 insertions, 7 deletions
diff --git a/gcc/ada/restrict.adb b/gcc/ada/restrict.adb
index 237ee42..3027ffa 100644
--- a/gcc/ada/restrict.adb
+++ b/gcc/ada/restrict.adb
@@ -858,8 +858,8 @@ package body Restrict is
-- Process_Restriction_Synonyms --
----------------------------------
- -- Note: body of this function must be coordinated with list of
- -- renaming declarations in System.Rident.
+ -- Note: body of this function must be coordinated with list of renaming
+ -- declarations in System.Rident.
function Process_Restriction_Synonyms (N : Node_Id) return Name_Id
is
@@ -883,11 +883,6 @@ package body Restrict is
when Name_No_Task_Attributes =>
New_Name := Name_No_Task_Attributes_Package;
- -- No_Elaboration_Code_All is special, no warning needed
-
- when Name_No_Elaboration_Code_All =>
- return Name_No_Elaboration_Code;
-
-- SPARK is special in that we unconditionally warn
when Name_SPARK =>