Is_Limited_Type always returns True for types where Is_Limited_Composite
is True, therefore the disjunct this patch removes had no effect.
gcc/ada/ChangeLog:
* sem_ch3.adb (Process_Full_View): Simplify test.
-- decoration of the full view and thus cannot be placed with other
-- similar checks in Find_Type_Name
- if not Is_Limited_Type (Priv_T)
- and then (Is_Limited_Type (Full_T)
- or else Is_Limited_Composite (Full_T))
- then
+ if not Is_Limited_Type (Priv_T) and then Is_Limited_Type (Full_T) then
if In_Instance then
null;
else