Stocks shook off a midday slide and ended with modest gains Tuesday, leaving the major indexes close to their recent all-time highs.
Small-company stocks continued to outpace the rest of the market by a wide margin, a sign that investors are becoming more optimistic about an economic rebound.
Treasury yields kept marching higher as investors anticipate that the economy will pull out of its slump and rebound later this year.