X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fada%2Fs-carsi8.adb;h=70fc2d49645ec337529beaeff535962b149388cf;hb=5329ca6475e92c4a485d941efe57819159434b5e;hp=ebc86e782234a42b316eef847b5599517e68d5d1;hpb=4f958b344b0f1c974df27213108354f0af9adb9f;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/ada/s-carsi8.adb b/gcc/ada/s-carsi8.adb index ebc86e78223..70fc2d49645 100644 --- a/gcc/ada/s-carsi8.adb +++ b/gcc/ada/s-carsi8.adb @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- 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_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