tree-optimization/98786 - fix issue with phiopt and abnormals