From: Piotr Trojanek Date: Fri, 8 May 2020 22:06:16 +0000 (+0200) Subject: [Ada] Fix typo in "accommodate" in docs and comments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f9afe0dc1c06cd7b004280d84e4cb31c8616894;p=gcc.git [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. --- 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 efcdc8049fc..7bae014b8ef 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 0f6109e6a96..5f36a4792a8 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 d06e97f96d8..504c89147aa 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). --