Key inflation gauge sets 40-year high as gas and food prices soar