I think I heard "passing gas" several times on radio commercials. My dictionaries say "breaking wind", but I have no idea if it's used, is it? And by the way, "to fart" is not slang at all, because everyone knows what it means and everyone uses it. Merriam Webster classifies it as "often vulgar", that is, you might consider avoiding it in several situations.