I know that gifts given to parents by their children within one year of their death are not eligible for cost-basis step up upon inheritance by those same children. I understand that this is to close a loophole which would allow children to give their highly appreciated assets to their terminally ill parents and avoid capital gains taxes on assets which they will very soon inherit once again.
My question is, if you anticipate your parent will survive longer than one year from the time you gift your assets to them, is it legal to do this?