fruitcake (n.) Look up fruitcake at Dictionary.com
also fruit-cake, 1838 in the literal sense "a rich, sweet cake containing fruit," from fruit + cake (n.). Slang meaning "lunatic person" is first attested 1952.