summaryrefslogtreecommitdiff
path: root/gcc/ada/s-casi32.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-casi32.adb')
-rw-r--r--gcc/ada/s-casi32.adb8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ada/s-casi32.adb b/gcc/ada/s-casi32.adb
index 2f280180ba4..cee5a5703a4 100644
--- a/gcc/ada/s-casi32.adb
+++ b/gcc/ada/s-casi32.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_32 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**31 .. 2**31 - 1;
for Word'Size use 32;
-- Used to process operands by words