aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2020-08-25 00:31:31 +0200
committerPierre-Marie de Rodat <derodat@adacore.com>2020-10-22 08:11:26 -0400
commit944fed738c3f300b4e3cf5f89a4d2b40c85e0a75 (patch)
treecb995145c31124413574449e4fc2507e23ddc793 /gcc
parent44b9c6715c6e8a244adc5129f90440d4e3cdf1b7 (diff)
downloadgcc-944fed738c3f300b4e3cf5f89a4d2b40c85e0a75.zip
gcc-944fed738c3f300b4e3cf5f89a4d2b40c85e0a75.tar.gz
gcc-944fed738c3f300b4e3cf5f89a4d2b40c85e0a75.tar.bz2
[Ada] Update the head comment of Check_Compile_Time_Size
gcc/ada/ * freeze.ads (Check_Compile_Time_Size): Adjust size limit.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/freeze.ads14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/ada/freeze.ads b/gcc/ada/freeze.ads
index 56061a07..2d70ec6 100644
--- a/gcc/ada/freeze.ads
+++ b/gcc/ada/freeze.ads
@@ -152,15 +152,15 @@ package Freeze is
-- occur.
--
-- Size is known at compile time, but the actual value of the size is not
- -- known to the front end or is definitely greater than 64. In this case,
- -- Size_Known_At_Compile_Time is set, but the RM_Size field is left set
- -- to zero (to be set by Gigi).
+ -- known to the front end or is greater than System_Max_Integer_Size. In
+ -- this case, Size_Known_At_Compile_Time is set, but the RM_Size field is
+ -- left set to zero (to be set by Gigi).
--
-- Size is known at compile time, and the actual value of the size is
- -- known to the front end and is not greater than 64. In this case, the
- -- flag Size_Known_At_Compile_Time is set, and in addition RM_Size is set
- -- to the required size, allowing for possible front end packing of an
- -- array using this type as a component type.
+ -- known to the front end and not greater than System_Max_Integer_Size.
+ -- In this case, Size_Known_At_Compile_Time is set, and in addition the
+ -- RM_Size field is set to the required size, allowing for possible front
+ -- end packing of an array using this type as a component type.
--
-- Note: the flag Size_Known_At_Compile_Time is used to determine if the
-- secondary stack must be used to return a value of the type, and also