A trust shall not fail to meet the requirements of subclause (II) merely because the corpus of the trust may revert to a person who is not so disabled after the trust ceases to have any beneficiary who is so disabled.
there shall also be allowed as a deduction in computing its taxable income any amount of the gross income, without limitation, which pursuant to the terms of the governing instrument is, during the taxable year, permanently set aside for a purpose specified in section 170 (c), or is to be used exclusively for religious, charitable, scientific, literary, or educational purposes, or for the prevention of cruelty to children or animals, or for the establishment, acquisition, maintenance, or operation of a public cemetery not operated for profit. In the case of a trust, the preceding sentence shall apply only to gross income earned with respect to amounts transferred to the trust before October 9, 1969, or transferred under a will to which subparagraph (B) applies.
For purposes of determining the amount of any charitable contribution allowable by reason of a transfer of property to a pooled fund, the value of the income interest shall be determined on the basis of the highest rate of return earned by the fund for any of the 3 taxable years immediately preceding the taxable year of the fund in which the transfer is made. In the case of funds in existence less than 3 taxable years preceding the taxable year of the fund in which a transfer is made the rate of return shall be deemed to be 6 percent per annum, except that the Secretary may prescribe a different rate of return.
then such carryover or such excess shall be allowed as a deduction, in accordance with regulations prescribed by the Secretary, to the beneficiaries succeeding to the property of the estate or trust.
any amount distributed by such fund for the care and maintenance of gravesites which have been purchased from the cemetery corporation before the beginning of the taxable year of the trust and with respect to which there is an obligation to furnish care and maintenance shall be considered to be a distribution solely for purposes of sections 651 and 661, but only to the extent that the aggregate amount so distributed during the taxable year does not exceed $5 multiplied by the aggregate number of such gravesites.