The S&P 500 rose 0.3% after whipping through an earlier drop and subsequent recovery. The Dow gained 231 points, or 0.5%, and the Nasdaq added 0.3% to its record.
The move to save PEPFAR funding may prove useful in rallying GOP support from powerful lawmakers like Senate Appropriations chair Susan Collins, an outspoken critic of Trump's proposed cuts.