summaryrefslogtreecommitdiffstats
path: root/gcc/ada/s-strcom.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-strcom.adb')
-rw-r--r--gcc/ada/s-strcom.adb4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/s-strcom.adb b/gcc/ada/s-strcom.adb
index 7a1daa7a6ce..00346439998 100644
--- a/gcc/ada/s-strcom.adb
+++ b/gcc/ada/s-strcom.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 2002-2007, Free Software Foundation, Inc. --
+-- Copyright (C) 2002-2008, 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- --
@@ -44,6 +44,7 @@ package body System.String_Compare is
type Big_Words is array (Natural) of Word;
type Big_Words_Ptr is access Big_Words;
+ for Big_Words_Ptr'Storage_Size use 0;
-- Array type used to access by words
type Byte is mod 2 ** 8;
@@ -51,6 +52,7 @@ package body System.String_Compare is
type Big_Bytes is array (Natural) of Byte;
type Big_Bytes_Ptr is access Big_Bytes;
+ for Big_Bytes_Ptr'Storage_Size use 0;
-- Array type used to access by bytes
function To_Big_Words is new
OpenPOWER on IntegriCloud