summaryrefslogtreecommitdiffstats
path: root/gcc/ada/s-conca8.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-20 09:14:04 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-20 09:14:04 +0000
commit2b4d755574eabfd23a5bd5a49f2d78d157e4824c (patch)
tree74c14ff78cae4b78f867d2b3c54dd6dade631222 /gcc/ada/s-conca8.ads
parent57995f4414e60fb8f29ff5f1ed50a9cfd7c08457 (diff)
downloadppe42-gcc-2b4d755574eabfd23a5bd5a49f2d78d157e4824c.tar.gz
ppe42-gcc-2b4d755574eabfd23a5bd5a49f2d78d157e4824c.zip
2009-04-20 Robert Dewar <dewar@adacore.com>
* s-conca5.adb, s-conca5.ads, s-conca7.adb, s-conca7.ads, s-conca9.adb, s-conca9.ads, rtsfind.ads, s-conca2.adb, s-conca2.ads, s-conca4.adb, s-conca4.ads, s-conca6.adb, s-conca6.ads, s-conca8.adb, s-conca8.ads, s-conca3.adb, s-conca3.ads (Str_Concat_Bounds_x): New functions. * exp_ch4.adb (Expand_Concatenate): Minor code reorganization 2009-04-20 Pascal Obry <obry@adacore.com> * initialize.c (__gnat_initialize): Add braces to kill warning. * adaint.c: Minor reformatting, untabify, remove trailing spaces. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146379 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-conca8.ads')
-rw-r--r--gcc/ada/s-conca8.ads11
1 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ada/s-conca8.ads b/gcc/ada/s-conca8.ads
index 0d93b243010..5978a39dca3 100644
--- a/gcc/ada/s-conca8.ads
+++ b/gcc/ada/s-conca8.ads
@@ -39,9 +39,16 @@ package System.Concat_8 is
procedure Str_Concat_8
(R : out String;
S1, S2, S3, S4, S5, S6, S7, S8 : String);
- -- Performs the operation R := S1 & S2 & S3 & S4 & S5 & S6 & S7 & S8. The
- -- bounds of R are known to be correct, so no bounds checks are required,
+ -- Performs the operation R := S1 & S2 & S3 & S4 & S5 & S6 & S7 & S8.
+ -- The bounds of R are known to be correct (usually set by a call to the
+ -- Str_Concat_Bounds_8 procedure below), so no bounds checks are required,
-- and it is known that none of the input operands overlaps R. No
-- assumptions can be made about the lower bounds of any of the operands.
+ procedure Str_Concat_Bounds_8
+ (Lo, Hi : out Natural;
+ S1, S2, S3, S4, S5, S6, S7, S8 : String);
+ -- Assigns to Lo..Hi the bounds of the result of concatenating the eight
+ -- given strings, following the rules in the RM regarding null operands.
+
end System.Concat_8;
OpenPOWER on IntegriCloud