The source of any amount included in gross income under subsection (a)(1) (or allowed as a deduction under subsection (a)(2)) shall be determined in the same manner as if such amount were gain or loss (as the case may be) from the sale of stock in the passive foreign investment company.
In the case of any regulated investment company which is offering for sale or has outstanding any stock of which it is the issuer and which is redeemable at its net asset value, all stock in a passive foreign investment company which it owns directly or indirectly shall be treated as marketable stock for purposes of this section. Except as provided in regulations, similar treatment as marketable stock shall apply in the case of any other regulated investment company which publishes net asset valuations at least annually.
For purposes of this section, stock owned, directly or indirectly, by or for a foreign partnership or foreign trust or foreign estate shall be considered as being owned proportionately by its partners or beneficiaries. Stock considered to be owned by a person by reason of the application of the preceding sentence shall, for purposes of applying such sentence, be treated as actually owned by such person.
For purposes of section 851(b)(2), any amount included in gross income under subsection (a) shall be treated as a dividend.
In the case of stock of a passive foreign investment company which is acquired by bequest, devise, or inheritance (or by the decedent’s estate) and with respect to which an election under this section was in effect as of the date of the decedent’s death, notwithstanding section 1014, the basis of such stock in the hands of the person so acquiring it shall be the adjusted basis of such stock in the hands of the decedent immediately before his death (or, if lesser, the basis which would have been determined under section 1014 without regard to this subsection).
The requirements of this subparagraph are met if, with respect to each of such corporation’s taxable years for which such corporation was a passive foreign investment company and which begin after December 31, 1986, and included any portion of the taxpayer’s holding period in such stock, such corporation was treated as a qualified electing fund under this part with respect to the taxpayer.
If any individual becomes a United States person in a taxable year beginning after December 31, 1997, solely for purposes of this section, the adjusted basis (before adjustments under subsection (b)) of any marketable stock in a passive foreign investment company owned by such individual on the first day of such taxable year shall be treated as being the greater of its fair market value on such first day or its adjusted basis on such first day.