An arrangement for controlling cooling of a gas for a supercharged combustion engine includes a low temperature cooling system with a coolant, a coolant pump circulating the coolant in the cooling system, a cooler in which a gas containing water vapor is cooled by the coolant, at least one sensor for detecting a parameter indicating whether the gas is cooled so much that there is at least risk of ice formation in the cooler, and a control unit receiving information from the sensors and deciding whether there is at least risk of ice formation in the cooler and, if so, controlling the coolant pump to be temporarily switched off or to circulate a lower than normal flow of coolant through the cooler.