elsif Is_Access_Type (Ptyp) then
Apply_Access_Check (N);
- -- For scalar type, if low bound is a reference to an entity, just
+ -- For scalar type, if high bound is a reference to an entity, just
-- replace with a direct reference. Note that we can only have a
-- reference to a constant entity at this stage, anything else would
-- have already been rewritten.
New_Occurrence_Of (RTE (RE_Check_Standard_Allocator), Loc)));
end if;
- -- Handle case of qualified expression (other than optimization above)
+ -- Handle case of qualified expression (other than optimization above).
-- First apply constraint checks, because the bounds or discriminants
-- in the aggregate might not match the subtype mark in the allocator.
procedure Flag_Effectively_Volatile_Objects (Expr : Node_Id);
-- Emit an error concerning the illegal usage of an effectively volatile
- -- object in interfering context (SPARK RM 7.13(12)).
+ -- object in interfering context (SPARK RM 7.1.3(12)).
procedure Insert_Default;
-- If the actual is missing in a call, insert in the actuals list
if Ekind (Desig_Typ) = E_Array_Subtype then
Id := First_Index (Desig_Typ);
- -- Check whether an index bound is constrained by a discriminant.
+ -- Check whether an index bound is constrained by a discriminant
while Present (Id) loop
Index_Typ := Underlying_Type (Etype (Id));