summaryrefslogtreecommitdiff
path: root/gcc/ada/exp_ch4.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-29 15:53:48 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-29 15:53:48 +0000
commit39a0c1d3aac75932ed8406449e5eea3d378ae0a8 (patch)
treef24be0f079581c60ab07cab8130ff5be1bddd109 /gcc/ada/exp_ch4.adb
parent81b83e4691f77a1f0dc5fa65b0ef055260a5b27a (diff)
downloadgcc-39a0c1d3aac75932ed8406449e5eea3d378ae0a8.tar.gz
2014-01-29 Robert Dewar <dewar@adacore.com>
* a-except-2005.adb, a-except.adb, a-excpol-abort.adb, a-exstat.adb, ali.adb, a-numaux.ads, a-numaux-darwin.ads, a-numaux-libc-x86.ads, a-numaux-vms.ads, a-numaux-vxworks.ads, a-numaux-x86.ads, aspects.ads, a-taside.adb, a-teioed.adb, a-textio.adb, a-textio.ads, atree.adb, atree.ads, a-witeio.adb, a-witeio.ads, a-wtedit.adb, a-ztedit.adb, a-ztexio.adb, bcheck.adb, binde.adb, checks.adb, comperr.adb, cstand.adb, debug_a.adb, einfo.ads, errout.adb, erroutc.adb, eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb, exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb, exp_dbug.adb, exp_disp.adb, exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_util.adb, freeze.adb, frontend.adb, g-comlin.ads, g-mbdira.adb, gnat1drv.adb, gprep.adb, g-spipat.adb, i-cpp.ads, i-vxwork.ads, i-vxwork-x86.ads, krunch.ads, layout.adb, lib-load.adb, lib-writ.adb, lib-writ.ads, live.adb, namet.ads, osint.adb, osint-c.adb, output.ads, par.adb, par-ch10.adb, par-ch13.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, prj.adb, repinfo.adb, rtsfind.adb, s-arit64.adb, s-asthan-vms-alpha.adb, s-asthan-vms-ia64.adb, s-bignum.adb, scans.adb, scng.adb, s-dimmks.ads, sem_aggr.adb, sem_attr.adb, sem_aux.adb, sem_cat.adb, sem_ch10.adb, sem_ch12.adb, sem_ch13.adb, sem_ch13.ads, sem_ch3.adb, sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch8.adb, sem_disp.adb, sem_elab.adb, sem_elim.adb, sem_eval.adb, sem_intr.adb, sem_prag.adb, sem_res.adb, sem_type.adb, sem_util.adb, sem_warn.adb, set_targ.adb, s-fatgen.adb, s-fatgen.ads, s-fileio.adb, s-imgcha.adb, s-imgrea.adb, sinfo.ads, sinput-c.adb, snames.ads-tmpl, s-os_lib.adb, sprint.adb, s-regpat.adb, s-secsta.adb, s-stalib.ads, s-stchop.adb, s-stoele.ads, stand.ads, s-taprop-solaris.adb, s-tasdeb-vms.adb, s-tasini.adb, s-tassta.adb, s-valdec.adb, s-valuti.adb, s-wchjis.adb, s-wchwts.adb, system.ads, system-vms_64.ads, system-vms-ia64.ads, treepr.adb, types.ads, uintp.adb, uname.adb, urealp.adb, usage.adb, vxaddr2line.adb: Minor reformatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207260 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/exp_ch4.adb')
-rw-r--r--gcc/ada/exp_ch4.adb20
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/ada/exp_ch4.adb b/gcc/ada/exp_ch4.adb
index 6952665ce21..06c69b1fc36 100644
--- a/gcc/ada/exp_ch4.adb
+++ b/gcc/ada/exp_ch4.adb
@@ -1790,7 +1790,7 @@ package body Exp_Ch4 is
-- components of the arrays.
--
-- The actual way the code works is to return the comparison of
- -- corresponding components for the N+1 call. That's neater!
+ -- corresponding components for the N+1 call. That's neater.
function Test_Empty_Arrays return Node_Id;
-- This function constructs the test for both arrays being empty
@@ -4419,7 +4419,7 @@ package body Exp_Ch4 is
Analyze_And_Resolve (N, PtrT);
-- We set the variable as statically allocated, since we don't want
- -- it going on the stack of the current procedure!
+ -- it going on the stack of the current procedure.
Set_Is_Statically_Allocated (Temp);
return;
@@ -5727,7 +5727,7 @@ package body Exp_Ch4 is
-- way we get all the processing above for an explicit range.
-- Don't do this for predicated types, since in this case we
- -- want to check the predicate!
+ -- want to check the predicate.
elsif Is_Scalar_Type (Typ) then
if No (Predicate_Function (Typ)) then
@@ -6004,7 +6004,7 @@ package body Exp_Ch4 is
-- If a predicate is present, then we do the predicate test, but we
-- most certainly want to omit this if we are within the predicate
- -- function itself, since otherwise we have an infinite recursion!
+ -- function itself, since otherwise we have an infinite recursion.
-- The check should also not be emitted when testing against a range
-- (the check is only done when the right operand is a subtype; see
-- RM12-4.5.2 (28.1/3-30/3)).
@@ -7151,7 +7151,7 @@ package body Exp_Ch4 is
then
-- Search for equality operation, checking that the operands
-- have the same type. Note that we must find a matching entry,
- -- or something is very wrong!
+ -- or something is very wrong.
Prim := First_Elmt (Collect_Primitive_Operations (A_Typ));
@@ -9127,7 +9127,7 @@ package body Exp_Ch4 is
and then Is_Constrained (Ptyp)
then
-- Do this optimization for discrete types only, and not for
- -- access types (access discriminants get us into trouble!)
+ -- access types (access discriminants get us into trouble).
if not Is_Discrete_Type (Etype (N)) then
null;
@@ -9135,7 +9135,7 @@ package body Exp_Ch4 is
-- Don't do this on the left hand of an assignment statement.
-- Normally one would think that references like this would not
-- occur, but they do in generated code, and mean that we really
- -- do want to assign the discriminant!
+ -- do want to assign the discriminant.
elsif Nkind (Par) = N_Assignment_Statement
and then Name (Par) = N
@@ -9154,7 +9154,7 @@ package body Exp_Ch4 is
-- Don't do this optimization if we are within the code for a
-- discriminant check, since the whole point of such a check may
- -- be to verify the condition on which the code below depends!
+ -- be to verify the condition on which the code below depends.
elsif Is_In_Discriminant_Check (N) then
null;
@@ -9248,7 +9248,7 @@ package body Exp_Ch4 is
return;
-- Otherwise we can just copy the constraint, but the
- -- result is certainly not static! In some cases the
+ -- result is certainly not static. In some cases the
-- discriminant constraint has been analyzed in the
-- context of the original subtype indication, but for
-- itypes the constraint might not have been analyzed
@@ -9961,7 +9961,7 @@ package body Exp_Ch4 is
-- in Checks.Apply_Arithmetic_Overflow_Check, but we catch more cases in
-- the processing here. Also we still need the Checks circuit, since we
-- have to be sure not to generate junk overflow checks in the first
- -- place, since it would be trick to remove them here!
+ -- place, since it would be trick to remove them here.
if Integer_Promotion_Possible (N) then