diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-07-20 14:55:43 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-07-20 14:55:43 +0200 |
commit | ae65d635df87446453628c005cacf2ed3850b9c6 (patch) | |
tree | fa9429c3abb0b2200bdc7151416d825424d673a9 /gcc/ada/a-calend.adb | |
parent | 5132708f8a29709b74d5eedb36c3414cdf44fa96 (diff) | |
download | gcc-ae65d635df87446453628c005cacf2ed3850b9c6.zip gcc-ae65d635df87446453628c005cacf2ed3850b9c6.tar.gz gcc-ae65d635df87446453628c005cacf2ed3850b9c6.tar.bz2 |
[multiple changes]
2009-07-20 Robert Dewar <dewar@adacore.com>
* sem_ch13.adb: Minor reformatting
* einfo.ads: Minor reformatting
Component_Bit_Offset is no longer considered obsolescent
2009-07-20 Nicolas Roche <roche@adacore.com>
* a-calend.adb: Redefine time_t as signed integer with same size as
Address type.
* s-os_lib.ads: Redefine OS_Time as signed integer with same size as
Address type
* adaint.h: On Windows 64bits declare OS_Time as long long instead of
long
2009-07-20 Javier Miranda <miranda@adacore.com>
* exp_tss.adb (Init_Proc): Add missing support for non-default C++
constructors that have anonymous access type formals.
* sem_res.adb (Resolve_Actuals): Disable checks associated with Ada
class-wide arguments in case of imported C++ subprograms.
* exp_ch3.adb (Build_Initialization_Call): Add assertion.
2009-07-20 Sergey Rybin <rybin@adacore.com>
* vms_data.ads: Update qualifiers.
From-SVN: r149810
Diffstat (limited to 'gcc/ada/a-calend.adb')
-rw-r--r-- | gcc/ada/a-calend.adb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/a-calend.adb b/gcc/ada/a-calend.adb index 05c327d..1a49c58 100644 --- a/gcc/ada/a-calend.adb +++ b/gcc/ada/a-calend.adb @@ -1471,7 +1471,9 @@ package body Ada.Calendar is subtype long is Long_Integer; type long_Pointer is access all long; - subtype time_t is long; + type time_t is + range -(2 ** (Standard'Address_Size - Integer'(1))) .. + +(2 ** (Standard'Address_Size - Integer'(1)) - 1); type time_t_Pointer is access all time_t; procedure localtime_tzoff |