From 944fed738c3f300b4e3cf5f89a4d2b40c85e0a75 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Tue, 25 Aug 2020 00:31:31 +0200 Subject: [PATCH] [Ada] Update the head comment of Check_Compile_Time_Size gcc/ada/ * freeze.ads (Check_Compile_Time_Size): Adjust size limit. --- gcc/ada/freeze.ads | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gcc/ada/freeze.ads b/gcc/ada/freeze.ads index 56061a073f9..2d70ec65693 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 -- 2.30.2