aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/einfo.ads
diff options
context:
space:
mode:
authorBob Duff <duff@adacore.com>2021-06-27 11:03:20 -0400
committerPierre-Marie de Rodat <derodat@adacore.com>2021-09-20 12:31:35 +0000
commit8e5a8832632eecf5786dff295d073938aeb6d6d8 (patch)
tree151ee136e01c3cd355f2094f034674a75fabf25b /gcc/ada/einfo.ads
parente97dd2ae763d8c1e78c3b82fc2add4c078fb2357 (diff)
downloadgcc-8e5a8832632eecf5786dff295d073938aeb6d6d8.zip
gcc-8e5a8832632eecf5786dff295d073938aeb6d6d8.tar.gz
gcc-8e5a8832632eecf5786dff295d073938aeb6d6d8.tar.bz2
[Ada] Clean up Uint fields, remove unused routines
gcc/ada/ * einfo-utils.ads, einfo-utils.adb, fe.h, einfo.ads, gen_il-fields.ads: Remove unused and no-longer-used routines. Move related routines together. Rewrite incorrect documentation, and documentation that will be incorrect when e.g. Esize-related routines are fixed. Remove unused field Normalized_Position_Max. * cstand.adb, exp_pakd.adb, freeze.adb, gen_il-gen-gen_entities.adb, itypes.adb, layout.adb, sem_ch10.adb, sem_ch12.adb, sem_ch13.adb, sem_ch3.adb, sem_ch7.adb, sem_ch8.adb, sem_ch9.adb, sem_prag.adb, sem_util.adb, ttypes.ads: Update calls to routines removed from or renamed in Einfo.Utils. * uintp.ads (Upos): Fix this subtype, which was unintentionally declared to include Uint_0.
Diffstat (limited to 'gcc/ada/einfo.ads')
-rw-r--r--gcc/ada/einfo.ads13
1 files changed, 0 insertions, 13 deletions
diff --git a/gcc/ada/einfo.ads b/gcc/ada/einfo.ads
index e87ce4c..39ddd66 100644
--- a/gcc/ada/einfo.ads
+++ b/gcc/ada/einfo.ads
@@ -3762,17 +3762,6 @@ package Einfo is
-- units from the start of the record to the lowest addressed storage
-- unit containing part or all of the field.
--- Normalized_Position_Max
--- Defined in components and discriminants. For almost all cases, this
--- is the same as Normalized_Position. The one exception is for the case
--- of a discriminated record containing one or more arrays whose length
--- depends on discriminants. In this case, the Normalized_Position_Max
--- field represents the maximum possible value of Normalized_Position
--- assuming min/max values for discriminant subscripts in all fields.
--- This is used by Layout in front end layout mode to properly compute
--- the maximum size of such records (needed for allocation purposes when
--- there are default discriminants, and also for the 'Size value).
-
-- Number_Dimensions (synthesized)
-- Applies to array types and subtypes. Returns the number of dimensions
-- of the array type or subtype as a value of type Pos.
@@ -5228,7 +5217,6 @@ package Einfo is
-- Linker_Section_Pragma $$$
-- Normalized_First_Bit
-- Current_Value (always Empty)
- -- Normalized_Position_Max
-- Component_Bit_Offset
-- Esize
-- Component_Clause
@@ -5328,7 +5316,6 @@ package Einfo is
-- E_Discriminant
-- Normalized_First_Bit
-- Current_Value (always Empty)
- -- Normalized_Position_Max
-- Component_Bit_Offset
-- Esize
-- Component_Clause