The GNU Compiler Collection (GCC) developers now have a need to set a policy whether AI / Large Language Model (LLM) generated patches will be accepted for this open-source compiler stack.
The GCC compiler doesn’t currently have a policy in place whether to permit AI/LLM-generated patches. But within a bug report today there is a patch posted by a user in trying to fix a GCC 16 compiler regression.


IMO I think it’s fine as long the submitter understand all their changes. This is easiest done if the submitter writes all the code themselves though.
In this case I would reject this. The submitter doesn’t seem to be qualified to understand the code change, and just let ChatGPT explain the code change for them. ChatGPT is a master in being confidently incorrect.