For purposes of this part, the term “undistributed personal holding company income” means the taxable income of a personal holding company adjusted in the manner provided in subsections (b), (c), and (d), minus the dividends paid deduction as defined in section 561. In the case of a personal holding company which is a foreign corporation, not more than 10 percent in value of the outstanding stock of which is owned (within the meaning of section 958(a)) during the last half of the taxable year by United States persons, the term “undistributed personal holding company income” means the amount determined by multiplying the undistributed personal holding company income (determined without regard to this sentence) by the percentage in value of its outstanding stock which is the greatest percentage in value of its outstanding stock so owned by United States persons on any one day during such period.
There shall be allowed as a deduction Federal income and excess profits taxes and income, war profits and excess profits taxes of foreign countries and possessions of the United States (to the extent not allowable as a deduction under section 275(a)(4)), accrued during the taxable year or deemed to be paid by a domestic corporation under section 960 for the taxable year, but not including the accumulated earnings tax imposed by section 531 or the personal holding company tax imposed by section 541.
The deduction for charitable contributions provided under section 170 shall be allowed, but in computing such deduction the limitations in section 170(b)(1)(A), (B), (D), and (E) shall apply, and section 170(b)(2) and (d)(1) shall not apply. For purposes of this paragraph, the term “contribution base” when used in section 170(b)(1) means the taxable income computed with the adjustments (other than the 10-percent limitation) provided in section 170(b)(2) and (d)(1) and without deduction of the amount disallowed under paragraph (6) of this subsection.
The special deductions for corporations provided in part VIII (except section 248) of subchapter B (section 241 and following, relating to the deduction for dividends received by corporations, etc.) shall not be allowed.
The net operating loss deduction provided in section 172 shall not be allowed, but there shall be allowed as a deduction the amount of the net operating loss (as defined in section 172(c)) for the preceding taxable year computed without the deductions provided in part VIII (except section 248) of subchapter B.
In the case of a foreign corporation, paragraph (5) shall be applied by taking into account only gains and losses which are effectively connected with the conduct of a trade or business within the United States and are not exempt from tax under treaty.
In the case of a foreign corporation all of the outstanding stock of which during the last half of the taxable year is owned by nonresident alien individuals (whether directly or indirectly through foreign estates, foreign trusts, foreign partnerships, or other foreign corporations), the taxable income for purposes of subsection (a) shall be the income which constitutes personal holding company income under section 543(a)(7), reduced by the deductions attributable to such income, and adjusted, with respect to such income, in the manner provided in subsection (b).