aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/s-stoele.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-stoele.ads')
-rw-r--r--gcc/ada/s-stoele.ads6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/s-stoele.ads b/gcc/ada/s-stoele.ads
index ca50e03..3b1527b 100644
--- a/gcc/ada/s-stoele.ads
+++ b/gcc/ada/s-stoele.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 2002-2005 Free Software Foundation, Inc. --
+-- Copyright (C) 2002-2006, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
@@ -54,6 +54,10 @@ package System.Storage_Elements is
type Storage_Offset is range
-(2 ** (Integer'(Standard'Address_Size) - 1)) ..
+(2 ** (Integer'(Standard'Address_Size) - 1)) - Long_Long_Integer'(1);
+ -- Note: the reason for the Long_Long_Integer qualification here is to
+ -- avoid a bogus ambiguity when this unit is analyzed in an rtsfind
+ -- context. It may be possible to remove this in the future, but it is
+ -- certainly harmless in any case ???
subtype Storage_Count is Storage_Offset range 0 .. Storage_Offset'Last;