gcc/ada/ChangeLog:
* sem_ch3.adb (Process_Subtype): Factorize initialization of variable.
-- Local variables
- P : Node_Id;
+ P : constant Node_Id := Parent (S);
Def_Id : Entity_Id;
Error_Node : Node_Id;
Full_View_Id : Entity_Id;
end if;
Check_Incomplete (S);
- P := Parent (S);
if Excludes_Null then
-- Create an Itype that is a duplicate of Entity (S) but with the
Check_Incomplete (Subtype_Mark (S));
end if;
- P := Parent (S);
Subtype_Mark_Id := Entity (Subtype_Mark (S));
-- Explicit subtype declaration case