diff options
Diffstat (limited to 'gcc/ada/s-casi64.adb')
-rw-r--r-- | gcc/ada/s-casi64.adb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ada/s-casi64.adb b/gcc/ada/s-casi64.adb index 5d6cea980e9..9d141358d4c 100644 --- a/gcc/ada/s-casi64.adb +++ b/gcc/ada/s-casi64.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 2002 Free Software Foundation, Inc. -- +-- Copyright (C) 2002-2004 Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -35,6 +35,12 @@ with Unchecked_Conversion; package body System.Compare_Array_Signed_64 is + function "+" (Left, Right : Address) return Address; + pragma Import (Intrinsic, "+"); + -- Provide addition operation on type Address (this may not be directly + -- available if type System.Address is non-private and the operations on + -- the type are made abstract to hide them from public users of System. + type Word is range -2**63 .. 2**63 - 1; for Word'Size use 64; -- Used to process operands by words |