Unfortunately not, except for certain reinvestments in qualified small business stock or empowerment zone business stock (see the Schedule D instructions for these special rollover rules). Apart from these exceptions, all of the gain on the sale of one stock must be reported even if other stock is purchased. The like-kind exchange rules do not apply to securities (stocks, bonds, notes, etc.).
The difference between face value of a bond and lower market price, attributable to rising interest rates. On a sale, gain on the bond is generally taxed as ordinary income to the extent of the discount.