Companies from McDonald’s to 3M warn consumers are being squeezed by sticky inflation

Higher prices have weighed on customers in an array of industries that interact with consumers.