Vastly more interesting tax situation is where the investor dies with a huge tax loss and no gains to offset it against, like the IHUB junk stock shareholder who killed himself about a year ago.
Poor family -- mom and three kids -- got no tax benefit even. Dad bought the stock for years, averaging down thru three reverse splits. It was perhaps the only stock he every owned. And he did everything wrong.
"As often happens, atrocious investing is compounded
by nonexistent tax planning. Generally, the sooner one
harvests losses the more valuable they are. Investing 101."