diff options
Diffstat (limited to 'gcc/ada/s-carun8.adb')
-rw-r--r-- | gcc/ada/s-carun8.adb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ada/s-carun8.adb b/gcc/ada/s-carun8.adb index 26a314e2c71..4a231098f92 100644 --- a/gcc/ada/s-carun8.adb +++ b/gcc/ada/s-carun8.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_Unsigned_8 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 mod 2 ** 32; -- Used to process operands by words |