Retail sales increased 0.4% last month, the Commerce Department said Wednesday, buoyed by rising gasoline revenue.