From 5f9afe0dc1c06cd7b004280d84e4cb31c8616894 Mon Sep 17 00:00:00 2001 From: Piotr Trojanek Date: Sat, 9 May 2020 00:06:16 +0200 Subject: [Ada] Fix typo in "accommodate" in docs and comments gcc/ada/ * doc/gnat_rm/representation_clauses_and_pragmas.rst: Fix typo. * gnat_rm.texi: Regenerate. * libgnat/s-secsta.ads (Memory_Alignment): Likewise. --- gcc/ada/doc/gnat_rm/representation_clauses_and_pragmas.rst | 2 +- gcc/ada/gnat_rm.texi | 2 +- gcc/ada/libgnat/s-secsta.ads | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/ada') diff --git a/gcc/ada/doc/gnat_rm/representation_clauses_and_pragmas.rst b/gcc/ada/doc/gnat_rm/representation_clauses_and_pragmas.rst index efcdc80..7bae014 100644 --- a/gcc/ada/doc/gnat_rm/representation_clauses_and_pragmas.rst +++ b/gcc/ada/doc/gnat_rm/representation_clauses_and_pragmas.rst @@ -582,7 +582,7 @@ that in each case the base is ``Short_Short_Integer`` with a size of 8): Note: the entries marked '*' are not actually specified by the Ada Reference Manual, which has nothing to say about size in the dynamic -case. What GNAT does is to allocate sufficient bits to accomodate any +case. What GNAT does is to allocate sufficient bits to accommodate any possible dynamic values for the bounds at run-time. So far, so good, but GNAT has to obey the RM rules, so the question is diff --git a/gcc/ada/gnat_rm.texi b/gcc/ada/gnat_rm.texi index 0f6109e..5f36a47 100644 --- a/gcc/ada/gnat_rm.texi +++ b/gcc/ada/gnat_rm.texi @@ -18572,7 +18572,7 @@ Value_Size Note: the entries marked '*' are not actually specified by the Ada Reference Manual, which has nothing to say about size in the dynamic -case. What GNAT does is to allocate sufficient bits to accomodate any +case. What GNAT does is to allocate sufficient bits to accommodate any possible dynamic values for the bounds at run-time. So far, so good, but GNAT has to obey the RM rules, so the question is diff --git a/gcc/ada/libgnat/s-secsta.ads b/gcc/ada/libgnat/s-secsta.ads index d06e97f..504c891 100644 --- a/gcc/ada/libgnat/s-secsta.ads +++ b/gcc/ada/libgnat/s-secsta.ads @@ -264,7 +264,7 @@ private Memory_Alignment : constant := Standard'Maximum_Alignment * 2; -- The memory alignment we will want to honor on every allocation. -- - -- At this stage, gigi assumes we can accomodate any alignment requirement + -- At this stage, gigi assumes we can accommodate any alignment requirement -- there might be on the data type for which the memory gets allocated (see -- build_call_alloc_dealloc). -- -- cgit v1.1