This fixes the criterion that determines whether to add finalization
collection extra formals to BIP functions.
gcc/ada/ChangeLog:
* exp_ch6.adb (Needs_BIP_Collection): Fix condition.
return not Restriction_Active (No_Finalization)
and then (Needs_Finalization (Typ) or else Is_Tagged_Type (Typ))
- and then not Has_Relaxed_Finalization (Typ)
- and then not Has_Foreign_Convention (Typ);
+ and then not Has_Relaxed_Finalization (Typ);
end Needs_BIP_Collection;
--------------------------