The amount described in paragraph (1) shall be adjusted under regulations prescribed by the Secretary for liabilities of the target corporation and other relevant items.
Under regulations prescribed by the Secretary, the basis of the purchasing corporation’s nonrecently purchased stock shall be the basis amount determined under subparagraph (B) of this paragraph if the purchasing corporation makes an election to recognize gain as if such stock were sold on the acquisition date for an amount equal to the basis amount determined under subparagraph (B).
The amount determined under paragraphs (1) and (2) shall be allocated among the assets of the target corporation under regulations prescribed by the Secretary.
The term “recently purchased stock” means any stock in the target corporation which is held by the purchasing corporation on the acquisition date and which was purchased by such corporation during the 12-month acquisition period.
The term “nonrecently purchased stock” means any stock in the target corporation which is held by the purchasing corporation on the acquisition date and which is not recently purchased stock.
The term “purchasing corporation” means any corporation which makes a qualified stock purchase of stock of another corporation.
The term “target corporation” means any corporation the stock of which is acquired by another corporation in a qualified stock purchase.
The term “qualified stock purchase” means any transaction or series of transactions in which stock (meeting the requirements of section 1504(a)(2)) of 1 corporation is acquired by another corporation by purchase during the 12-month acquisition period.
A purchasing corporation shall be treated as having made an election under this section with respect to any target corporation if, at any time during the consistency period, it acquires any asset of the target corporation (or a target affiliate).
Whenever necessary to carry out the purpose of this subsection and subsection (f), the Secretary may treat stock acquisitions which are pursuant to a plan and which meet the requirements of section 1504(a)(2) as qualified stock purchases.
Except as otherwise provided in regulations, an election under this section shall be made not later than the 15th day of the 9th month beginning after the month in which the acquisition date occurs.
An election by the purchasing corporation under this section shall be made in such manner as the Secretary shall by regulations prescribe.
An election by a purchasing corporation under this section, once made, shall be irrevocable.
The term “12-month acquisition period” means the 12-month period beginning with the date of the first acquisition by purchase of stock included in a qualified stock purchase (or, if any of such stock was acquired in an acquisition which is a purchase by reason of subparagraph (C) of paragraph (3), the date on which the acquiring corporation is first considered under section 318(a) (other than paragraph (4) thereof) as owning stock owned by the corporation from which such acquisition was made).
The term “acquisition date” means, with respect to any corporation, the first day on which there is a qualified stock purchase with respect to the stock of such corporation.
The term “purchase” includes any deemed purchase under subsection (a)(2). The acquisition date for a corporation which is deemed purchased under subsection (a)(2) shall be determined under regulations prescribed by the Secretary.
Clause (iii) of subparagraph (A) shall not apply to an acquisition of stock from a related corporation if at least 50 percent in value of the stock of such related corporation was acquired by purchase (within the meaning of subparagraphs (A) and (B)).
For purposes of this subparagraph, a corporation is a related corporation if stock owned by such corporation is treated (under section 318(a) other than paragraph (4) thereof) as owned by the corporation acquiring the stock.
The period referred to in subparagraph (A) shall also include any period during which the Secretary determines that there was in effect a plan to make a qualified stock purchase plus 1 or more other qualified stock purchases (or asset acquisitions described in subsection (e)) with respect to the target corporation or any target affiliate.
The term “affiliated group” has the meaning given to such term by section 1504(a) (determined without regard to the exceptions contained in section 1504(b)).
A corporation shall be treated as a target affiliate of the target corporation if each of such corporations was, at any time during so much of the consistency period as ends on the acquisition date of the target corporation, a member of an affiliated group which had the same common parent.
Except as provided in regulations prescribed by the Secretary, stock and asset acquisitions made by members of the same affiliated group shall be treated as made by 1 corporation.
Except as otherwise provided in paragraph (10) or in regulations prescribed under this paragraph, the target corporation shall not be treated as a member of an affiliated group with respect to the sale described in subsection (a)(1).
For purposes of subsection (a)(1), fair market value may be determined on the basis of a formula provided in regulations prescribed by the Secretary which takes into account liabilities and other relevant items.
For purposes of section 6655, tax attributable to the sale described in subsection (a)(1) shall not be taken into account. The preceding sentence shall not apply with respect to a qualified stock purchase for which an election is made under paragraph (10).
Under regulations prescribed by the Secretary, a combined deemed sale return may be filed by all target corporations acquired by a purchasing corporation on the same acquisition date if such target corporations were members of the same selling consolidated group (as defined in subparagraph (B) of paragraph (10)).
Except as provided in regulations, this section shall not apply for purposes of determining the source or character of any item for purposes of subpart A of part III of subchapter N of this chapter (relating to foreign tax credit). The preceding sentence shall not apply to any gain to the extent such gain is includible in gross income as a dividend under section 1248 (determined without regard to any deemed sale under this section by a foreign corporation).