U.S. inflation surged to a new four-decade high in June because of rising prices for gas, food and rent, squeezing household budgets and pressuring the Federal Reserve to raise interest rates aggressively -- trends that raise the risk of a recession.