Chiasmal compression from metastatic cancer to the pituitary gland.