aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/layout.ads
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2018-05-24 13:04:16 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-05-24 13:04:16 +0000
commit443ee9566b50a59f4e1a057ffdda8fba4002dde3 (patch)
treef829534b366b9a4a2135552e77174fc698a281e6 /gcc/ada/layout.ads
parent3cac09db8dfb0d910c8c50a7e86826833eeb61f8 (diff)
downloadgcc-443ee9566b50a59f4e1a057ffdda8fba4002dde3.zip
gcc-443ee9566b50a59f4e1a057ffdda8fba4002dde3.tar.gz
gcc-443ee9566b50a59f4e1a057ffdda8fba4002dde3.tar.bz2
[Ada] Fix references to Backend_Layout configuration parameter
Apparently the Backend_Layout target configuration parameter was renamed to Frontend_Layout a long time ago (and their meanings are opposite). However, some comments were still referencing the no longer existing Backend_Layout. This patch fixes such references. No test provided, because only comments has been modified. 2018-05-24 Piotr Trojanek <trojanek@adacore.com> gcc/ada/ * layout.ads, repinfo.ads: Fix references to renamed Backend_Layout configuration parameter. From-SVN: r260642
Diffstat (limited to 'gcc/ada/layout.ads')
-rw-r--r--gcc/ada/layout.ads8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/layout.ads b/gcc/ada/layout.ads
index 0376ea9..db9428b 100644
--- a/gcc/ada/layout.ads
+++ b/gcc/ada/layout.ads
@@ -26,7 +26,7 @@
-- This package does front-end layout of types and objects. The result is
-- to annotate the tree with information on size and alignment of types
-- and objects. How much layout is performed depends on the setting of the
--- target dependent parameter Backend_Layout.
+-- target dependent parameter Frontend_Layout.
with Types; use Types;
@@ -40,9 +40,9 @@ package Layout is
procedure Layout_Type (E : Entity_Id);
-- This procedure may set or adjust the fields Esize, RM_Size and
-- Alignment in the non-generic type or subtype entity E. If the
- -- Backend_Layout switch is False, then it is guaranteed that all
+ -- Frontend_Layout switch is True, then it is guaranteed that all
-- three fields will be properly set on return. Regardless of the
- -- Backend_Layout value, it is guaranteed that all discrete types
+ -- Frontend_Layout value, it is guaranteed that all discrete types
-- will have both Esize and RM_Size fields set on return (since
-- these are static values). Note that Layout_Type is not called
-- for generic types, since these play no part in code generation,
@@ -53,7 +53,7 @@ package Layout is
-- a loop parameter (E_Loop_Parameter), or a formal parameter of
-- a non-generic subprogram (E_In_Parameter, E_In_Out_Parameter,
-- or E_Out_Parameter). This procedure may set or adjust the
- -- Esize and Alignment fields of E. If Backend_Layout is False,
+ -- Esize and Alignment fields of E. If Frontend_Layout is True,
-- then it is guaranteed that both fields will be properly set
-- on return. If the Esize is still unknown in the latter case,
-- it means that the object must be allocated dynamically, since