only if a deduction for the entire distribution would be allowable under section 170 (determined without regard to subsection (b) thereof and this paragraph). (ii) Split-interest gifts A distribution to a split-interest entity shall be treated as a qualified charitable distribution only if a deduction for the entire value of the interest in the distribution for the use of an organization described in section 170(c) would be allowable under section 170 (determined without regard to subsection (b) thereof and this paragraph). (D) Application of Section 72 Notwithstanding section 72, in determining the extent to which a distribution is a qualified charitable distribution, the entire amount of the distribution shall be treated as includible in gross income without regard to subparagraph (A) to the extent that such amount does not exceed the aggregate amount which would have been so includible if all amounts in all individual retirement plans of the individual were distributed during the taxable year and all such plans were treated as 1 contract for purposes of determining under section 72 the aggregate amount which would have been so includible. Proper adjustments shall be made in applying section 72 to other distributions in such taxable year and subsequent taxable years. (E) Special rules for split-interest entities (i) Charitable remainder trusts Notwithstanding section 664(b), distributions made from a trust described in subparagraph (G)(i) shall be treated as ordinary income in the hands of the beneficiary to whom is paid the annuity described in section 664(d)(1)(A) or the payment described in section 664(d)(2)(A). (ii) Pooled income funds No amount shall be includible in the gross income of a pooled income fund (as defined in subparagraph (G)(ii)) by reason of a qualified charitable distribution to such fund, and all distributions from the fund which are attributable to qualified charitable distributions shall be treated as ordinary income to the beneficiary. (iii) Charitable gift annuities Qualified