26 USC 362 - Basis to corporations
If property was acquired on or after June 22, 1954, by a corporation
then the basis shall be the same as it would be in the hands of the transferor, increased in the amount of gain recognized to the transferor on such transfer.
If property was acquired by a corporation in connection with a reorganization to which this part applies, then the basis shall be the same as it would be in the hands of the transferor, increased in the amount of gain recognized to the transferor on such transfer. This subsection shall not apply if the property acquired consists of stock or securities in a corporation a party to the reorganization, unless acquired by the exchange of stock or securities of the transferee (or of a corporation which is in control of the transferee) as the consideration in whole or in part for the transfer.
Notwithstanding subsection (a)(2), if property other than money
then the basis of such property shall be zero.
Notwithstanding subsection (a)(2), if money
then the basis of any property acquired with such money during the 12-month period beginning on the day the contribution is received shall be reduced by the amount of such contribution. The excess (if any) of the amount of such contribution over the amount of the reduction under the preceding sentence shall be applied to the reduction (as of the last day of the period specified in the preceding sentence) of the basis of any other property held by the taxpayer. The particular properties to which the reductions required by this paragraph shall be allocated shall be determined under regulations prescribed by the Secretary.
In no event shall the basis of any property be increased under subsection (a) or (b) above the fair market value of such property (determined without regard to section 7701 (g)) by reason of any gain recognized to the transferor as a result of the assumption of a liability.
Except as provided in regulations, if
then, for purposes of determining basis under subsections (a) and (b), the amount of gain recognized by the transferor as a result of the assumption of the liability shall be determined as if the liability assumed by the transferee equaled such transferees ratable portion of such liability determined on the basis of the relative fair market values (determined without regard to section 7701(g)) of all of the assets subject to such liability.
If in any transaction described in subsection (a) or (b) there would (but for this subsection) be an importation of a net built-in loss, the basis of each property described in subparagraph (B) which is acquired in such transaction shall (notwithstanding subsections (a) and (b)) be its fair market value immediately after such transaction.
For purposes of subparagraph (A), property is described in this subparagraph if
In any case in which the transferor is a partnership, the preceding sentence shall be applied by treating each partner in such partnership as holding such partners proportionate share of the property of such partnership.
For purposes of subparagraph (A), there is an importation of a net built-in loss in a transaction if the transferees aggregate adjusted bases of property described in subparagraph (B) which is transferred in such transaction would (but for this paragraph) exceed the fair market value of such property immediately after such transaction.
If
then, notwithstanding subsection (a), the transferees aggregate adjusted bases of the property so transferred shall not exceed the fair market value of such property immediately after such transaction.
The aggregate reduction in basis by reason of subparagraph (A) shall be allocated among the property so transferred in proportion to their respective built-in losses immediately before the transaction.