Earlier quoted context omitted.
What if you believe that only married male-female couples should have sex and children? Or that people with penises don't belong in womens spaces? Or whatever other currently controversial topic? It has nothing to do with GCC, nothing with code quality, nothing with your contributions to the project, you don't say that in code, in code comments, on gcc mailing lists, anywhere gcc related. But, because of the CoC ( ht…
I'm not sold on the idea that "violations of this code outside these spaces" is a bad thing, it depends what those violations are. I'm completely happy and have spent my career working with people who's views don't always align with my own. If I have a religious co-worker who believes I will spend eternity burning in hell for my sexuality, it doesn't bother me in the slightest. They have a right to their view, I have…
Let's frame it in a more relatable context.
Your employer can fire you for violating the company code of conduct, despite your behaviour having absolutely nothing to do with the company or its business.