(a) General ruleAny increase or decrease in the adjusted basis of partnership property under section 734(b) (relating to the optional adjustment to the basis of undistributed partnership property) or section 743(b) (relating to the optional adjustment to the basis of partnership property in the case of a transfer of an interest in a partnership) shall, except as provided in subsection (b), be allocated—
in any other manner permitted by regulations prescribed by the Secretary.
(b) Special ruleIn applying the allocation rules provided in subsection (a), increases or decreases in the adjusted basis of partnership property arising from a distribution of, or a transfer of an interest attributable to, property consisting of—
shall be allocated to partnership property of a like character except that the basis of any such partnership property shall not be reduced below zero. If, in the case of a distribution, the adjustment to basis of property described in paragraph (1) or (2) is prevented by the absence of such property or by insufficient adjusted basis for such property, such adjustment shall be applied to subsequently acquired property of a like character in accordance with regulations prescribed by the Secretary.
(c) No allocation of basis decrease to stock of corporate partnerIn making an allocation under subsection (a) of any decrease in the adjusted basis of partnership property under section 734(b)—