If either of the corporations referred to in paragraph (1) was not in existence throughout the 5-year period referred to in paragraph (1), the period during which such corporation was in existence (or if both, the shorter of such periods) shall be substituted for such 5-year period.
Any item of income which is properly taken into account for any recognition period taxable year but which is attributable to periods before the acquisition date shall be treated as a recognized built-in gain for the taxable year in which it is properly taken into account and shall be taken into account in determining the amount of the net unrealized built-in gain.
In the case of a corporation with a net unrealized built-in loss, the term “preacquisition loss” includes any recognized built-in loss.
The term “gain corporation” means any corporation with a net unrealized built-in gain.
The term “control” means ownership of stock in a corporation which meets the requirements of section 1504(a)(2).
Except as provided in regulations and except for purposes of subsection (b), all corporations which are members of the same affiliated group immediately before the acquisition date shall be treated as 1 corporation. To the extent provided in regulations, section 1504 shall be applied without regard to subsection (b) thereof for purposes of the preceding sentence.
Any reference in this section to a corporation shall include a reference to any predecessor or successor thereof.
Except as provided in regulations, the terms “net unrealized built-in gain”, “net unrealized built-in loss”, “recognized built-in loss”, “recognition period”, and “recognition period taxable year”, have the same respective meanings as when used in section 382(h), except that the acquisition date shall be taken into account in lieu of the change date.
If any preacquisition loss may not offset a recognized built-in gain by reason of this section, such gain shall not be taken into account in determining under section 172(b)(2) the amount of such loss which may be carried to other taxable years. A similar rule shall apply in the case of any excess credit or net capital loss limited by reason of subsection (d).