Under regulations prescribed by the Secretary, the basis of a United States shareholder’s stock in a controlled foreign corporation, and the basis of property of a United States shareholder by reason of which he is considered under section
958
(a)(2) as owning stock of a controlled foreign corporation, shall be increased by the amount required to be included in his gross income under section
951
(a) with respect to such stock or with respect to such property, as the case may be, but only to the extent to which such amount was included in the gross income of such United States shareholder. In the case of a United States shareholder who has made an election under section
962 for the taxable year, the increase in basis provided by this subsection shall not exceed an amount equal to the amount of tax paid under this chapter with respect to the amounts required to be included in his gross income under section
951
(a).