Gold rose to a record on Wednesday on haven demand before the US election, and held a narrow gain after jobs and GDP data that showed the ongoing resilience of the US economy.