US inflation hit 40-year excessive in June, pushed by document gasoline costs