summaryrefslogtreecommitdiff
path: root/gcc/ada/s-auxdec-vms_64.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-17 14:26:42 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-17 14:26:42 +0000
commitb58174fc06bc37bbd57ad9b6c99ba0f0e91f4de3 (patch)
tree69d543f5118c0ca29afe54976eb4924dafee2703 /gcc/ada/s-auxdec-vms_64.ads
parent2dd47858e7b5c9ba487b08816da612ef777c8e09 (diff)
downloadgcc-b58174fc06bc37bbd57ad9b6c99ba0f0e91f4de3.tar.gz
2010-06-17 Robert Dewar <dewar@adacore.com>
* par.adb: Minor comment fix * sem_aggr.adb, sem_ch3.adb: Minor reformatting 2010-06-17 Doug Rupp <rupp@adacore.com> * s-auxdec-vms_64.ads: Revert Integer to Long_Integer change, instead change Address to Short_Address in functions where both must be the same size for intrinsics to work. 2010-06-17 Thomas Quinot <quinot@adacore.com> * sem_ch4.adb (Analyze_Selected_Component): A selected component may not denote a (private) component of a protected object. 2010-06-17 Bob Duff <duff@adacore.com> * par-labl.adb (Try_Loop): Test whether the label and the goto are in the same list. 2010-06-17 Joel Brobecker <brobecker@adacore.com brobecker> * gnat_ugn.texi: Update the documentation about GDB re: exception catchpoints. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160919 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-auxdec-vms_64.ads')
-rw-r--r--gcc/ada/s-auxdec-vms_64.ads34
1 files changed, 17 insertions, 17 deletions
diff --git a/gcc/ada/s-auxdec-vms_64.ads b/gcc/ada/s-auxdec-vms_64.ads
index 3a6d221911d..be90c03d951 100644
--- a/gcc/ada/s-auxdec-vms_64.ads
+++ b/gcc/ada/s-auxdec-vms_64.ads
@@ -107,10 +107,10 @@ package System.Aux_DEC is
Address_Size : constant := Standard'Address_Size;
Short_Address_Size : constant := 32;
- function "+" (Left : Address; Right : Long_Integer) return Address;
- function "+" (Left : Long_Integer; Right : Address) return Address;
- function "-" (Left : Address; Right : Address) return Long_Integer;
- function "-" (Left : Address; Right : Long_Integer) return Address;
+ function "+" (Left : Short_Address; Right : Integer) return Short_Address;
+ function "+" (Left : Integer; Right : Short_Address) return Short_Address;
+ function "-" (Left : Short_Address; Right : Short_Address) return Integer;
+ function "-" (Left : Short_Address; Right : Integer) return Short_Address;
pragma Import (Intrinsic, "+");
pragma Import (Intrinsic, "-");
@@ -230,16 +230,16 @@ package System.Aux_DEC is
type Unsigned_Quadword_Array is
array (Integer range <>) of Unsigned_Quadword;
- function To_Address (X : Integer) return Address;
+ function To_Address (X : Integer) return Short_Address;
pragma Pure_Function (To_Address);
- function To_Address_Long (X : Unsigned_Longword) return Address;
+ function To_Address_Long (X : Unsigned_Longword) return Short_Address;
pragma Pure_Function (To_Address_Long);
- function To_Integer (X : Address) return Integer;
+ function To_Integer (X : Short_Address) return Integer;
- function To_Unsigned_Longword (X : Address) return Unsigned_Longword;
- function To_Unsigned_Longword (X : AST_Handler) return Unsigned_Longword;
+ function To_Unsigned_Longword (X : Short_Address) return Unsigned_Longword;
+ function To_Unsigned_Longword (X : AST_Handler) return Unsigned_Longword;
-- Conventional names for static subtypes of type UNSIGNED_LONGWORD
@@ -657,31 +657,31 @@ private
-- want warnings when we compile on such systems.
function To_Address_A is new
- Ada.Unchecked_Conversion (Integer, Address);
+ Ada.Unchecked_Conversion (Integer, Short_Address);
pragma Pure_Function (To_Address_A);
- function To_Address (X : Integer) return Address
+ function To_Address (X : Integer) return Short_Address
renames To_Address_A;
pragma Pure_Function (To_Address);
function To_Address_Long_A is new
- Ada.Unchecked_Conversion (Unsigned_Longword, Address);
+ Ada.Unchecked_Conversion (Unsigned_Longword, Short_Address);
pragma Pure_Function (To_Address_Long_A);
- function To_Address_Long (X : Unsigned_Longword) return Address
+ function To_Address_Long (X : Unsigned_Longword) return Short_Address
renames To_Address_Long_A;
pragma Pure_Function (To_Address_Long);
function To_Integer_A is new
- Ada.Unchecked_Conversion (Address, Integer);
+ Ada.Unchecked_Conversion (Short_Address, Integer);
- function To_Integer (X : Address) return Integer
+ function To_Integer (X : Short_Address) return Integer
renames To_Integer_A;
function To_Unsigned_Longword_A is new
- Ada.Unchecked_Conversion (Address, Unsigned_Longword);
+ Ada.Unchecked_Conversion (Short_Address, Unsigned_Longword);
- function To_Unsigned_Longword (X : Address) return Unsigned_Longword
+ function To_Unsigned_Longword (X : Short_Address) return Unsigned_Longword
renames To_Unsigned_Longword_A;
function To_Unsigned_Longword_A is new