gcc/ada/ChangeLog:
* sem_ch5.adb (Analyze_Loop_Parameter_Specification): Set ekind
earlier.
-- Start of processing for Analyze_Loop_Parameter_Specification
begin
+ Mutate_Ekind (Id, E_Loop_Parameter);
Enter_Name (Id);
-- We always consider the loop variable to be referenced, since the loop
-- subsequent analysis of the condition in a quantified
-- expression.
- Mutate_Ekind (Id, E_Loop_Parameter);
return;
end;
Make_Index (DS, N);
end if;
- Mutate_Ekind (Id, E_Loop_Parameter);
Set_Etype (Id, Etype (DS));
Set_Is_Not_Self_Hidden (Id);