Adjust the check of 13.14(10.2/3) to avoid reporting an error
on unfrozen incomplete types, as they are never frozen
(AI12-0155-1).
gcc/ada/ChangeLog:
* sem_ch8.adb (Freeze_Actual_Profile): Do not report error
on incomplete types, since they do not cause freezing.
elsif From_Limited_With (Etype (F)) then
null;
+ -- Incomplete types are never frozen (AI12-0155-1)
+
+ elsif Is_Incomplete_Type (Etype (F)) then
+ null;
+
else
Error_Msg_NE
("type& must be frozen before this point",