corporation under section 951A(a) for such taxable year. . (2) Paragraph (4) of section 245(a) is amended to read as follows: (4) Post-1986 undistributed earnings The term post-1986 undistributed earnings means the amount of the earnings and profits of the foreign corporation (computed in accordance with sections 964(a) and 986) accumulated in taxable years beginning after December 31, 1986— (A) as of the close of the taxable year of the foreign corporation in which the dividend is distributed, and (B) without diminution by reason of dividends distributed during such taxable year. . (3) Section 245(a)(10)(C) is amended by striking 902, 907, and 960 and inserting 907 and 960 . (4) Sections 535(b)(1) and 545(b)(1) are each amended by striking section 902(a) or 960(a)(1) and inserting section 960 . (5) Section 814(f)(1) is amended— (A) by striking subparagraph (B), and (B) by striking all that precedes No income and inserting the following: (1) Treatment of foreign taxes . (6) Section 865(h)(1)(B) is amended by striking 902, 907, and inserting 907 . (7) Section 901(a) is amended by striking sections 902 and 960 and inserting section 960 . (8) Section 901(e)(2) is amended by striking but is not limited to— and all that follows through that portion and inserting but is not limited to that portion . (9) Section 901(f) is amended by striking sections 902 and 960 and inserting section 960 . (10) Section 901(j)(1)(A) is amended by striking 902 or . (11) Section 901(j)(1)(B) is amended by striking sections 902 and 960 and inserting section 960 . (12) Section 901(k)(2) is amended by striking , 902, . (13) Section 901(k)(6) is amended by striking 902 or . (14) Section 901(m)(1) is amended by striking relevant foreign assets— and all that follows and inserting relevant foreign assets shall not be taken into account in determining the credit allowed under subsection (a). . (15) Section 904(d)(6)(A) is amended by striking 902, 907, and inserting 907 . (16) Section 904(h)(10)(A) is amended by striking sections 902, 907, and 960