diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2012-10-05 16:21:21 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2012-10-05 16:21:21 +0200 |
commit | 5707e389d37b785a78137d7bd668fc7ea8f6e252 (patch) | |
tree | e30a3273ca8c8b3dbeac16e03a5145a5ef49fc86 /gcc/ada/exp_ch4.adb | |
parent | 686750d25df6b870f11f7744b2a3f631d998952a (diff) | |
download | gcc-5707e389d37b785a78137d7bd668fc7ea8f6e252.tar.gz |
[multiple changes]
2012-10-05 Yannick Moy <moy@adacore.com>
* switch-c.adb, checks.adb, checks.ads, sem_prag.adb, exp_ch4.adb,
osint.adb: Minor correction of typos, and special case for Alfa mode.
2012-10-05 Hristian Kirtchev <kirtchev@adacore.com>
* s-spsufi.adb: Add with clause for Ada.Unchecked_Deallocation.
Add with and use clauses for System.Finalization_Masters.
(Finalize_And_Deallocate): Add an instance of
Ada.Unchecked_Deallocation. Merge the code from the now obsolete
Finalize_Subpool into this routine.
* s-spsufi.ads: Add pragma Preelaborate.
* s-stposu.adb: Remove with clause for
Ada.Unchecked_Deallocation; Add with and use clauses for
System.Storage_Pools.Subpools.Finalization; (Finalize_Pool):
Update the comment on all actions takes with respect to a subpool
finalization. Finalize and deallocate each individual subpool.
(Finalize_Subpool): Removed.
(Free): Removed;
(Detach): Move from package body to spec.
* s-stposu.ads (Detach): Move from package body to spec.
(Finalize_Subpool): Removed.
2012-10-05 Arnaud Charlet <charlet@adacore.com>
* s-tassta.adb: Update comments.
(Vulnerable_Complete_Master): If Free_On_Termination is set, do
nothing, and let the task free itself if not already done.
From-SVN: r192124
Diffstat (limited to 'gcc/ada/exp_ch4.adb')
-rw-r--r-- | gcc/ada/exp_ch4.adb | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gcc/ada/exp_ch4.adb b/gcc/ada/exp_ch4.adb index f47bae4b918..9e28fc6d01c 100644 --- a/gcc/ada/exp_ch4.adb +++ b/gcc/ada/exp_ch4.adb @@ -141,8 +141,8 @@ package body Exp_Ch4 is -- Common expansion processing for short-circuit boolean operators procedure Expand_Compare_Minimize_Eliminate_Overflow (N : Node_Id); - -- Deal with comparison in Minimize/Eliminate overflow mode. This is where - -- we allow comparison of "out of range" values. + -- Deal with comparison in MINIMIZED/ELIMINATED overflow mode. This is + -- where we allow comparison of "out of range" values. function Expand_Composite_Equality (Nod : Node_Id; @@ -165,10 +165,10 @@ package body Exp_Ch4 is -- include both arrays and singleton elements. procedure Expand_Membership_Minimize_Eliminate_Overflow (N : Node_Id); - -- N is an N_In membership test mode, with the overflow check mode - -- set to Minimized or Eliminated, and the type of the left operand - -- is a signed integer type. This is a case where top level processing - -- is required to handle overflow checks in subtrees. + -- N is an N_In membership test mode, with the overflow check mode set to + -- MINIMIZED or ELIMINATED, and the type of the left operand is a signed + -- integer type. This is a case where top level processing is required to + -- handle overflow checks in subtrees. procedure Fixup_Universal_Fixed_Operation (N : Node_Id); -- N is a N_Op_Divide or N_Op_Multiply node whose result is universal @@ -5524,7 +5524,7 @@ package body Exp_Ch4 is Ltyp := Etype (Left_Opnd (N)); Rtyp := Etype (Right_Opnd (N)); - -- If Minimize/Eliminate overflow mode and type is a signed integer + -- If MINIMIZED/ELIMINATED overflow mode and type is a signed integer -- type, then expand with a separate procedure. Note the use of the -- flag No_Minimize_Eliminate to prevent infinite recursion. @@ -7084,7 +7084,7 @@ package body Exp_Ch4 is Typl := Base_Type (Typl); -- Deal with overflow checks in MINIMIZED/ELIMINATED mode and if that - -- results in not having a comparison operation any more, we are done. + -- results in not having a comparison operation anymore, we are done. Expand_Compare_Minimize_Eliminate_Overflow (N); @@ -7678,7 +7678,7 @@ package body Exp_Ch4 is Binary_Op_Validity_Checks (N); -- Deal with overflow checks in MINIMIZED/ELIMINATED mode and if that - -- results in not having a comparison operation any more, we are done. + -- results in not having a comparison operation anymore, we are done. Expand_Compare_Minimize_Eliminate_Overflow (N); @@ -7728,7 +7728,7 @@ package body Exp_Ch4 is Binary_Op_Validity_Checks (N); -- Deal with overflow checks in MINIMIZED/ELIMINATED mode and if that - -- results in not having a comparison operation any more, we are done. + -- results in not having a comparison operation anymore, we are done. Expand_Compare_Minimize_Eliminate_Overflow (N); @@ -7778,7 +7778,7 @@ package body Exp_Ch4 is Binary_Op_Validity_Checks (N); -- Deal with overflow checks in MINIMIZED/ELIMINATED mode and if that - -- results in not having a comparison operation any more, we are done. + -- results in not having a comparison operation anymore, we are done. Expand_Compare_Minimize_Eliminate_Overflow (N); @@ -7828,7 +7828,7 @@ package body Exp_Ch4 is Binary_Op_Validity_Checks (N); -- Deal with overflow checks in MINIMIZED/ELIMINATED mode and if that - -- results in not having a comparison operation any more, we are done. + -- results in not having a comparison operation anymore, we are done. Expand_Compare_Minimize_Eliminate_Overflow (N); @@ -8263,7 +8263,7 @@ package body Exp_Ch4 is Binary_Op_Validity_Checks (N); -- Deal with overflow checks in MINIMIZED/ELIMINATED mode and if - -- that results in not having a /= opertion any more, we are done. + -- that results in not having a /= operation anymore, we are done. Expand_Compare_Minimize_Eliminate_Overflow (N); |