Despite healthy gains from the ongoing stock market rally, public pension funds are still badly underfunded and the shortfall continues to widen.

To try to close the gap, many states have shifted pension fund assets into stocks and alternative investments like hedge funds. But in doing so, they face a greater risk of being able to meet their long-term promises to pay retiree benefits, according to a new report from the Pew Charitable Trusts.