Set the default size of time_t_bits to match the standard runtimes. The
size must match that which is used in the VSB, since the same VSB is
used to build all of the runtimes.
Tested on x86_64-pc-linux-gnu, committed on trunk
gcc/ada/
* libgnat/s-parame__ae653.ads (time_t_bits): Change to
Long_Long_Integer'Size. Add some comments to explain.
diff --git a/gcc/ada/libgnat/s-parame__ae653.ads b/gcc/ada/libgnat/s-parame__ae653.ads
--- a/gcc/ada/libgnat/s-parame__ae653.ads
+++ b/gcc/ada/libgnat/s-parame__ae653.ads
@@ -104,8 +104,12 @@ package System.Parameters is
-- Characteristics of time_t type --
------------------------------------
- time_t_bits : constant := Long_Integer'Size;
- -- Number of bits in type time_t
+ -- IMPORTANT NOTE:
+ -- time_t_bits must match the size specified in the VSB.
+
+ time_t_bits : constant := Long_Long_Integer'Size;
+ -- Number of bits in type time_t for SR0660 and newer,
+ -- with the default configuration of the VSB.
----------------------------------------------
-- Characteristics of types in Interfaces.C --