aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/layout.adb
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-03-31 19:28:19 +0000
committerRalf Wildenhues <rwild@gcc.gnu.org>2008-03-31 19:28:19 +0000
commitdec55d763c498096e4f8211e212c8b0631829ce6 (patch)
treefface9c358993512af2d42d8da781b1ceb75942a /gcc/ada/layout.adb
parent5a864002b8608352188f6019d28ba15878e05363 (diff)
downloadgcc-dec55d763c498096e4f8211e212c8b0631829ce6.zip
gcc-dec55d763c498096e4f8211e212c8b0631829ce6.tar.gz
gcc-dec55d763c498096e4f8211e212c8b0631829ce6.tar.bz2
g-table.adb, [...]: Fix comment typos.
gcc/ada/ * g-table.adb, g-tasloc.adb, g-traceb.ads, g-trasym.adb, g-utf_32.adb, gen-soccon.c, gigi.h, gmem.c, gnatbind.adb, gnatchop.adb, gnatcmd.adb, gnatcmd.ads, gnatdll.adb, gnatfind.adb, gnatlink.adb, gnatmem.adb, gprep.adb, i-cstrea-vms.adb, i-cstrin.adb, i-pacdec.ads, i-vxwork.ads, impunit.adb, init.c, initialize.c, inline.adb, layout.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads, lib.adb, link.c, live.ads, make.adb, makegpr.adb, makeutl.adb, math_lib.adb, mdll-utl.adb, mdll.ads, memroot.adb, memroot.ads, misc.c, mlib-prj.adb, mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-tru64.adb, mlib-tgt.ads, namet.adb, namet.h, nlists.adb, nlists.ads, nlists.h, opt.ads, osint-b.ads, osint-c.adb, osint-c.ads, osint.adb, osint.ads, output.ads, par-ch10.adb, par-ch12.adb, par-ch2.adb, par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par-ch9.adb, par-endh.adb, par-labl.adb, par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb, par.adb, prep.adb, prep.ads, prepcomp.adb, prj-attr.ads, prj-dect.adb, prj-env.adb, prj-ext.adb, prj-nmsc.adb, prj-nmsc.ads, prj-pp.adb, prj-proc.adb, prj-strt.ads, prj-tree.ads, prj.adb, prj.ads: Fix comment typos. From-SVN: r133770
Diffstat (limited to 'gcc/ada/layout.adb')
-rw-r--r--gcc/ada/layout.adb12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/ada/layout.adb b/gcc/ada/layout.adb
index d890012..45cc662 100644
--- a/gcc/ada/layout.adb
+++ b/gcc/ada/layout.adb
@@ -956,7 +956,7 @@ package body Layout is
Make_Size_Function : Boolean := False;
-- Indicates whether to request that SO_Ref_From_Expr should
- -- encapsulate the array size expresion in a function.
+ -- encapsulate the array size expression in a function.
procedure Discrimify (N : in out Node_Id);
-- If N represents a discriminant, then the Size.Status is set to
@@ -2490,7 +2490,7 @@ package body Layout is
end;
end if;
- -- For non-discrete sclar types, if the RM_Size is not set,
+ -- For non-discrete scalar types, if the RM_Size is not set,
-- then set it now to a copy of the Esize if the Esize is set.
else
@@ -2591,7 +2591,7 @@ package body Layout is
Set_Composite_Alignment (E);
end if;
- -- Procressing for array types
+ -- Processing for array types
elsif Is_Array_Type (E) then
@@ -2804,7 +2804,7 @@ package body Layout is
-- the setting of the Optimize_Alignment mode.
-- If Optimize_Alignment is set to Space, then packed records always
- -- have an aligmment of 1. But don't do anything for atomic records
+ -- have an alignment of 1. But don't do anything for atomic records
-- since we may need higher alignment for indivisible access.
if Optimize_Alignment = 'S'
@@ -2818,7 +2818,7 @@ package body Layout is
else
-- The only other cases we worry about here are where the size is
- -- staticallly known at compile time.
+ -- statically known at compile time.
if Known_Static_Esize (E) then
Siz := Esize (E);
@@ -2910,7 +2910,7 @@ package body Layout is
-- Check components. If any component requires a higher alignment,
-- then we set that higher alignment in any case. Don't do this if
-- we have Optimize_Alignment set to Space. Note that that covers
- -- the case of packed records, where we arleady set alignment to 1.
+ -- the case of packed records, where we already set alignment to 1.
if Optimize_Alignment /= 'S' then
declare