It depends on the type & brand of gum. Wrigley's juicy fruit takes a day, comes out like food. You run into problems when you've swallowed a great deal of bubble gum. It also passes in a day or so. The problem with bubble gum should be obvious & embarrassing to most. When flatulent, you tend to blow enormous bubbles, & any source of ignition could smell, oops spell disaster.