RE:Capital Gains Reserve?kuat:
I'm not an accountant either, but I'm pretty sure the capital gain reserve wouldn't apply in this case, since you get all the money at the time you sell any shares. The reserve applies when you are receiving the money from a sale over a period of years...
ie:
https://www.taxtips.ca/filing/capgainresother.htm
also:
https://www.taxplanningguide.ca/tax-planning-guide/section-3-investors/capital-gains-reserves/
As for the other ideas, they might help, but it's unlikely you would get enough of a deduction from making an RRSP contribution to balance your capital gains, but it depends on your own circumstances.
Capital losses from this or previous years can be applied against your capital gains and capital losses in future years can also be carried back up to three years to apply against capital gains already reported.
If I were you, I'd hope the deal doesn't close this year, but either way, I'd suggest you consult a good tax accountant.