@@ -7578,9 +7578,7 @@ package body Exp_Ch6 is
and then Etype (F) /= Etype (A)
then
Append_To (Actuals,
- Make_Unchecked_Type_Conversion (Loc,
- New_Occurrence_Of (Etype (F), Loc),
- New_Copy_Tree (A)));
+ Unchecked_Convert_To (Etype (F), New_Copy_Tree (A)));
else
Append_To (Actuals, New_Copy_Tree (A));
end if;
@@ -882,8 +882,8 @@ package body Tbuild is
-- We don't really want to allow E_Void here, but existing code passes
-- it.
- Loc : constant Source_Ptr := Sloc (Expr);
- Result : Node_Id;
+ Loc : constant Source_Ptr := Sloc (Expr);
+ Result : Node_Id;
begin
-- If the expression is already of the correct type, then nothing