aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/aspects.ads
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-05-16 15:24:11 +0200
committerMarc Poulhiès <poulhies@adacore.com>2024-06-20 10:50:52 +0200
commitad264cb6482808351fee154ace89dc91a8253f61 (patch)
tree2b4c8b322adfba0316a64a6ed63ee90777333f40 /gcc/ada/aspects.ads
parentc207c2dfb47b26f4968094de081df964dae3a784 (diff)
downloadgcc-ad264cb6482808351fee154ace89dc91a8253f61.zip
gcc-ad264cb6482808351fee154ace89dc91a8253f61.tar.gz
gcc-ad264cb6482808351fee154ace89dc91a8253f61.tar.bz2
ada: Remove Max_Entry_Queue_Depth pragma/aspect
It was implemented apparently because a very early version of AI12-0164 that standardizes GNAT's Max_Queue_Length opted for the subtly different moniker, but later versions of the AI use Max_Entry_Queue_Length instead. gcc/ada/ * aspects.ads (Aspect_Id): Remove Aspect_Max_Entry_Queue_Depth. (global arrays): Remove entry for it. * exp_ch9.adb (Expand_N_Protected_Type_Declaration): Remove reference to pragma Max_Entry_Queue_Depth in comment. * par-prag.adb (Prag): Remove handling of Pragma_Max_Entry_Queue_Depth. * sem_ch13.adb (Analyze_Aspect_Specifications): Remove reference to aspect Max_Entry_Queue_Depth in comment. (Analyze_Aspect_Specifications): Remove processing of aspect Max_Entry_Queue_Depth. (Check_Aspect_At_Freeze_Point): Likewise. * sem_prag.ads (Find_Related_Declaration_Or_Body): Remove reference to pragma Max_Entry_Queue_Depth in comment. * sem_prag.adb (Analyze_Pragma): Remove processing of pragma Max_Entry_Queue_Depth. (Sig_Flags): Remove entry for Pragma_Max_Entry_Queue_Depth. * sem_util.adb (Get_Max_Queue_Length): Remove handling of pragma Max_Entry_Queue_Depth. (Has_Max_Queue_Length): Likewise. * snames.ads-tmpl (Name_Max_Entry_Queue_Depth): Move back from pragmas section to others section. (Pragma_Id): Remove Pragma_Max_Entry_Queue_Depth.
Diffstat (limited to 'gcc/ada/aspects.ads')
-rw-r--r--gcc/ada/aspects.ads6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/ada/aspects.ads b/gcc/ada/aspects.ads
index 202d421..140fb7c 100644
--- a/gcc/ada/aspects.ads
+++ b/gcc/ada/aspects.ads
@@ -114,7 +114,6 @@ package Aspects is
Aspect_Linker_Section, -- GNAT
Aspect_Local_Restrictions, -- GNAT
Aspect_Machine_Radix,
- Aspect_Max_Entry_Queue_Depth, -- GNAT
Aspect_Max_Entry_Queue_Length,
Aspect_Max_Queue_Length, -- GNAT
Aspect_Object_Size,
@@ -304,7 +303,6 @@ package Aspects is
Aspect_Linker_Section => True,
Aspect_Local_Restrictions => True,
Aspect_Lock_Free => True,
- Aspect_Max_Entry_Queue_Depth => True,
Aspect_Max_Queue_Length => True,
Aspect_No_Caching => True,
Aspect_No_Elaboration_Code_All => True,
@@ -450,7 +448,6 @@ package Aspects is
Aspect_Linker_Section => Expression,
Aspect_Local_Restrictions => Expression,
Aspect_Machine_Radix => Expression,
- Aspect_Max_Entry_Queue_Depth => Expression,
Aspect_Max_Entry_Queue_Length => Expression,
Aspect_Max_Queue_Length => Expression,
Aspect_Object_Size => Expression,
@@ -549,7 +546,6 @@ package Aspects is
Aspect_Linker_Section => True,
Aspect_Local_Restrictions => False,
Aspect_Machine_Radix => True,
- Aspect_Max_Entry_Queue_Depth => False,
Aspect_Max_Entry_Queue_Length => False,
Aspect_Max_Queue_Length => False,
Aspect_Object_Size => True,
@@ -732,7 +728,6 @@ package Aspects is
Aspect_Lock_Free => Name_Lock_Free,
Aspect_Local_Restrictions => Name_Local_Restrictions,
Aspect_Machine_Radix => Name_Machine_Radix,
- Aspect_Max_Entry_Queue_Depth => Name_Max_Entry_Queue_Depth,
Aspect_Max_Entry_Queue_Length => Name_Max_Entry_Queue_Length,
Aspect_Max_Queue_Length => Name_Max_Queue_Length,
Aspect_No_Caching => Name_No_Caching,
@@ -1046,7 +1041,6 @@ package Aspects is
Aspect_Initial_Condition => Never_Delay,
Aspect_Local_Restrictions => Never_Delay,
Aspect_Initializes => Never_Delay,
- Aspect_Max_Entry_Queue_Depth => Never_Delay,
Aspect_Max_Entry_Queue_Length => Never_Delay,
Aspect_Max_Queue_Length => Never_Delay,
Aspect_No_Caching => Never_Delay,