stock basis
(iv) Increase in asset or stock basis(A) If the carryover basis rules under paragraph (h)(2)(i) of this section apply to an asset, and the purchasing corporation disposes of the asset to an unrelated party in a taxable transaction and recognizes and includes in its U.S. gross income or the U.S. gross income of its shareholders the greater of the income or gain from the disposition of the asset by the selling controlled foreign corporation that was reflected in the basis of the target stock under paragraph (c) of this section, or the gain recognized on the asset by the purchasing corporation on the disposition of the asset, then the purchasing corporation or the target or a target affiliate, as appropriate, shall increase the basis of the selling controlled foreign corporation stock subject to paragraph (h)(2)(ii) of this section, as of the date of the disposition of the asset by the purchasing corporation, by the amount of the basis increase that was denied under paragraph (h)(2)(ii) of this section. The preceding sentence shall apply only to the extent that the controlled foreign corporation stock is owned (within the meaning of section 958(a)) by a member of the purchasing corporation's affiliated group. (B) If the carryover basis rules under paragraph (h)(2)(i) of this section apply to an asset, and the purchasing corporation or the target or a target affiliate, as appropriate, disposes of the stock of the selling controlled foreign corporation to an unrelated party in a taxable transaction and recognizes and includes in its U.S. gross income or the U.S. gross income of its shareholders the greater of the gain equal to the basis increase that was denied under paragraph (h)(2)(ii) of this section, or the gain recognized in the stock by the purchasing corporation or by the target or a target affiliate, as appropriate, on the disposition of the stock, then the purchasing corporation shall increase the basis of the asset, as of the date of the disposition of the stock of the selling controlled foreign corporation by the purchasing corporation or by the target or a target affiliate, as appropriate, by the amount of the basis increase that was denied pursuant to paragraph (h)(2)(i) of this section. The preceding sentence shall apply only to the extent that the asset is owned (within the meaning of section 958(a)) by a member of the purchasing corporation's affiliated group. (3) Stock issued by target affiliate that is a controlled foreign corporation. The exception to the carryover basis rules of this section provided in paragraph (d)(2)(iii) of this section does not apply to stock issued by a target affiliate that is a controlled foreign corporation. After applying the carryover basis rules of this section to the stock, the basis in the stock is increased by the amount treated as a dividend under section 1248 on the disposition of the stock (or that would have been so treated but for section 1291), except to the extent the basis increase is attributable to the disposition of an asset in which a carryover basis is taken under this section. (4) Certain distributions(i) General rule. In the case of a target affiliate that is a controlled foreign corporation, paragraph (g) of this section applies with respect to the target affiliate by treating any reference to a dividend to which section 243(a)(3) applies as a reference to any amount taken into account under 1.1502-32 in determining the basis of target stock that is (A) A dividend; (B) An amount treated as a dividend under section 1248 (or that would have been so treated but for section 1291); or (C) An amount included in income under section 951(a)(1)(B). (ii) Basis of controlled foreign corporation stock. If the carryover basis rules of this section apply to an asset, the basis in the stock of the controlled foreign corporation (or any property by reason of which the stock is considered owned under section 958(a)(2)) is reduced (but not below zero) by the sum of any amounts that are treated, solely by reason of the disposition of the asset, as a dividend, amount treated as a dividend under section 1248 (or that would have been so treated but for section 1291), or amount included in income under section 951(a)(1)(B). For this purpose, any dividend, amount treated as a dividend under section 1248 (or that would have been so treated but for section 1291), or amount included in income under section 951(a)(1)(B) is considered attributable first to earnings and profits resulting from the disposition of the asset. (iii) Increase in asset or stock basis(A) If the carryover basis rules under paragraphs (g) and (h)(4)(i) of this section apply to an asset, and the purchasing corporation disposes of the asset to an unrelated party in a taxable transaction and recognizes and includes in its U.S. gross income or the U.S. gross income of its shareholders the greater of the gain equal to the basis increase denied in the asset pursuant to paragraphs (g) and (h)(4)(i) of this section, or the gain recognized on the asset by the purchasing corporation on the disposition of the asset, then the purchasing corporation or the target or a target affiliate, as appropriate, shall increase the basis of the selling controlled foreign corporation stock subject to paragraph (h)(4)(ii) of this section, as of the date of the disposition of the asset by the purchasing corporation, by the amount of the basis reduction under paragraph (h)(4)(ii) of this section. The preceding sentence shall apply only to the extent that the controlled foreign corporation stock is owned (within the meaning of section 958(a)) by a member of the purchasing corporation's affiliated group. (B) If the carryover basis rules under paragraphs (g) and (h)(4)(i) of this section apply to an asset, and the purchasing corporation or the target or a target affiliate, as appropriate, disposes of the stock of the selling controlled foreign corporation to an unrelated party in a taxable transaction and recognizes and includes in its U.S. gross income or the U.S. gross income of its shareholders the greater of the amount of the basis reduction under paragraph (h)(4)(ii) of this section, or the gain recognized in the stock by the purchasing corporation or by the target or a target affiliate, as appropriate, on the disposition of the stock, then the purchasing corporation shall increase the basis of the asset, as of the date of the disposition of the stock of the selling controlled foreign corporation by the purchasing corporation or by the target or a target affiliate, as appropriate, by the amount of the basis increase that was denied pursuant to paragraphs (g) and (h)(4)(i) of this section. The preceding sentence shall apply only to the extent that the asset is owned (within the meaning of section 958(a)) by a member of the purchasing corporation's affiliated group. (5) Examples. This paragraph (h) may be illustrated by the following examples: (i) [Reserved]