In the case of a taxpayer who transfers securities (as defined in section
1236
(c)) pursuant to an agreement which meets the requirements of subsection (b), no gain or loss shall be recognized on the exchange of such securities by the taxpayer for an obligation under such agreement, or on the exchange of rights under such agreement by that taxpayer for securities identical to the securities transferred by that taxpayer.