https://gcc.gnu.org/conduct.html
On a more serious note. I can see one, possibly bad/worrying consequence of these code of conducts.
Hypothetically:
Let's say there is some great new programming and leadership/project management people, who are not well known at the moment. But if given the right positions and time to grow, will become our future. I will list some names, to give an idea of what I'm talking about.
Linus Torvalds
https://en.wikipedia.org/wiki/Linus_TorvaldsRichard Stallman
https://en.wikipedia.org/wiki/Richard_StallmanFeel free to agree or disagree with my example people, or add your own. I'm primarily referring to a Linus Torvalds, like person.
The thing is, on a bad day, either person could easily very badly break the code of conduct rules, which could become mandatory at some point, if not already.
E.g. They could get into a furry, and noisily belittle one or more of the programming team, and their work.
These tantrums (perhaps less politically correct, these days), can help pull these sometimes large open source (and other types) of software, together in a powerful way. Allowing good progress to take place, and software quality (and other important measures), to be kept at a good level.
So, would such people be actually banned from such projects. Potentially losing us great leadership material (opinions can vary).
Or would they have to tone things down so much, that it would severely weaken their leadership positions?
Sometimes you don't realise what you have got, and how good and optimised it already is. Until you break the golden rule, 'if it ain't broke, don't fix it', and significantly change the way things are done.
So it might be done with good intentions, to supposedly improve things overall. But end up, actually making things a lot worse than they already are.
A bit like, some companies, do very well. Then these new leaders come along and become the top boss of them. Making lots of changes, which instead of making great products that are really innovative, super fast, cost effective and sell really well.
They fiddle about with all sorts of considerably less important to the product things.
Ultimately ending up, damaging or destroying the product(s), and losing the business loss of money in the process. Sometimes eventually ending up, in bankruptcy and the company disappearing.
This code of conduct, may seem completely innocuous today, and only be around a page or so, long. But often, feature creep and changes, can make it increase in size, dramatically over the years. Eventually potentially damaging the real product(s), such as GCC, that they should really be paying the most concentrated effort on.
I.e. Future meetings for GCC, instead of being about GCC itself, its speed of compilation, the speed of the compiled code, bug fixes and various improvements for newer versions.
Descend into massive, arguments about how they can make themselves more politically correct, employ/use a more diverse set of people.
Then discussing, a huge number of issues raised, about politically correct stuff and so forth.
Then the meeting ends, possibly improving the code of conduct stuff, but the GCC project itself, has largely NOT been discussed. Eventually leading to the stagnation of the GCC project (in theory).