What is the risk of flying with severe GI problems?

Depends on problem. This depends on the nature of the problem. For a serious problem such as significant rectal bleeding, delay in treatment could have serious consequences; if one were to collapse from blood loss on an airplane, there would not be sufficient opportunity for fluid resuscitation until landing.