No deduction shall be taken under sections 651 and 661 (relating to additional deductions).
No deduction shall be taken under section 642(b) (relating to deduction for personal exemptions).
Gains from the sale or exchange of capital assets shall be excluded to the extent that such gains are allocated to corpus and are not (A) paid, credited, or required to be distributed to any beneficiary during the taxable year, or (B) paid, permanently set aside, or to be used for the purposes specified in section 642(c). Losses from the sale or exchange of capital assets shall be excluded, except to the extent such losses are taken into account in determining the amount of gains from the sale or exchange of capital assets which are paid, credited, or required to be distributed to any beneficiary during the taxable year. The exclusion under section 1202 shall not be taken into account.
For purposes only of subpart B (relating to trusts which distribute current income only), there shall be excluded those items of gross income constituting extraordinary dividends or taxable stock dividends which the fiduciary, acting in good faith, does not pay or credit to any beneficiary by reason of his determination that such dividends are allocable to corpus under the terms of the governing instrument and applicable local law.
There shall be included any tax-exempt interest to which section 103 applies, reduced by any amounts which would be deductible in respect of disbursements allocable to such interest but for the provisions of section 265 (relating to disallowance of certain deductions).
The Secretary shall prescribe such regulations as may be necessary or appropriate to carry out the purposes of this part, including regulations to prevent avoidance of such purposes.
For purposes of this subpart and subparts B, C, and D, the term “income”, when not preceded by the words “taxable”, “distributable net”, “undistributed net”, or “gross”, means the amount of income of the estate or trust for the taxable year determined under the terms of the governing instrument and applicable local law. Items of gross income constituting extraordinary dividends or taxable stock dividends which the fiduciary, acting in good faith, determines to be allocable to corpus under the terms of the governing instrument and applicable local law shall not be considered income.
An election under paragraph (1) shall be made on or before the 65th day after the close of the taxable year of the trust and in such manner as the Secretary may prescribe.
For purposes of this part, any amount paid to a United States person which is derived directly or indirectly from a foreign trust of which the payor is not the grantor shall be deemed in the year of payment to have been directly paid by the foreign trust to such United States person.
A person is related to another person if the relationship between such persons would result in a disallowance of losses under section 267 or 707(b). In applying section 267 for purposes of the preceding sentence, section 267(c)(4) shall be applied as if the family of an individual includes the spouses of the members of the family.
If any person described in paragraph (1)(B) is related to more than one person, the grantor or beneficiary to whom the treatment under this subsection applies shall be determined under regulations prescribed by the Secretary.
The term “United States person” does not include any entity exempt from tax under this chapter.
Any trust which is treated under this subsection as making a distribution shall be treated as not described in section 651.
In the case of the use of any trust property other than a loan of cash or marketable securities, paragraph (1) shall not apply to the extent that the trust is paid the fair market value of such use within a reasonable period of time of such use.
If any loan (or use of property) is taken into account under paragraph (1), any subsequent transaction between the trust and the original borrower regarding the principal of the loan (by way of complete or partial repayment, satisfaction, cancellation, discharge, or otherwise) or the return of such property shall be disregarded for purposes of this title.