Under typical circumstances, the basis will be stepped up to its fair market value when the trust become irrevocable,
As long as the trust is technically the "owner" of the property (the property remains undistributed), there will be only one step up in basis.