Deductions & credits

This is an old (very old) thread, but your question has already been answered in one of the responses:

 

Capital gain on this transaction and gift tax issues are completely separate components.