Treatment of polymers prepared in bulk also solid polymers or polymer melts