Gold prices climbed Wednesday as oil weakened following the U.