In 2012, Trump suggested diet soda might be connected to weight gain before writing, "The Coca Cola company is not happy with me -- that's okay, I'll still keep drinking that garbage."
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.