Change to 64bit time to avoid Unix Epochalypse.

Tested on x86_64-pc-linux-gnu, committed on trunk

gcc/ada/

        * libgnat/s-parame__vxworks.ads (time_t_bits): Change to
        Long_Long_Integer'Size.
diff --git a/gcc/ada/libgnat/s-parame__vxworks.ads b/gcc/ada/libgnat/s-parame__vxworks.ads
--- a/gcc/ada/libgnat/s-parame__vxworks.ads
+++ b/gcc/ada/libgnat/s-parame__vxworks.ads
@@ -108,11 +108,11 @@ package System.Parameters is
    --  Select the appropriate time_t_bits for the VSB in use, then rebuild
    --  the runtime using instructions in adainclude/libada.gpr.
 
-   time_t_bits : constant := Long_Integer'Size;
+   --  time_t_bits : constant := Long_Integer'Size;
    --  Number of bits in type time_t for SR0650 and before and SR0660 with
    --  non-default configuration.
 
-   --  time_t_bits : constant := Long_Long_Integer'Size;
+   time_t_bits : constant := Long_Long_Integer'Size;
    --  Number of bits in type time_t for SR0660 with default configuration.
 
    ----------------------------------------------


Reply via email to