If the comment was neutral and didn't point at anyone in particular, then it's not really gossip... but more of a moral story or reminder.
I do have some friends who have serious drinking problems. I don't talk about them out of the blue with the purpose of making them look bad.
If I was talking to other people who know my friends and wanted to make it intentional, then I would say something like... "Hey, did you know that Bob got drunk and passed out in the bathroom at my apartment? He puked and flooded the floor with his puke. Jeez!" Now, I used his name and we weren't talking about drinking problems or anything similar. I just brought it up myself out of the blue so that the person I was talking to could think bad about that person. Now, that would be gossip.
If I was talking with a group of people about the dangers of drinking or they were talking about their drinking history, I could bring it up from a neutral point of view. "I had a friend in college who had a serious drinking problem. It led to passing out in the bathroom many times as well as puking and making a mess everywhere. It's surprising he's still alive." Why did I say this? It was either to point out the dangers of drinking or to point out that I'm familiar with the dangers of drinking. Kinda like sharing experiences.