A trust can deduct gross income set aside as a charitable contribution stemming from the distribution of real property from the corporation that is the trust’s sole shareholder, the IRS said in a private letter ruling released Friday.