(h)Payments in lieu of dividends in connection with short sales
(1)In general
If—
(A)a taxpayer makes any payment with respect to any stock used by such taxpayer in a short sale and such payment is in lieu of a dividend payment on such stock, and
(B)the closing of such short sale occurs on or before the 45th day after the date of such short sale,
then no deduction shall be allowed for such payment. The basis of the stock used to close the short sale shall be increased by the amount not allowed as a deduction by reason of the preceding sentence.
(2)Longer period in case of extraordinary dividends
If the payment described in paragraph (1)(A) is in respect of an extraordinary dividend, paragraph (1)(B) shall be applied by substituting “the day 1 year after the date of such short sale” for “the 45th day after the date of such short sale”.
(3)Extraordinary dividend
For purposes of this subsection, the term “extraordinary dividend” has the meaning given to such term by section 1059(c); except that such section shall be applied by treating the amount realized by the taxpayer in the short sale as his adjusted basis in the stock.
(4)Special rule where risk of loss diminished
The running of any period of time applicable under paragraph (1)(B) (as modified by paragraph (2)) shall be suspended during any period in which—
(A)the taxpayer holds, has an option to buy, or is under a contractual obligation to buy, substantially identical stock or securities, or
(B)under regulations prescribed by the Secretary, a taxpayer has diminished his risk of loss by holding 1 or more other positions with respect to substantially similar or related property.
(5)Deduction allowable to extent of ordinary income from amounts paid by lending broker for use of collateral
(A)In general
Paragraph (1) shall apply only to the extent that the payments or distributions with respect to any short sale exceed the amount which—
(i)is treated as ordinary income by the taxpayer, and
(ii)is received by the taxpayer as compensation for the use of any collateral with respect to any stock used in such short sale.
(B)Exception not to apply to extraordinary dividends
Subparagraph (A) shall not apply if one or more payments or distributions is in respect of an extraordi