Inflation data boosts stocks