{"slug": "gcc-adopts-policy-rejecting-significant-ai-generated-code", "title": "GCC Adopts Policy Rejecting Significant AI-Generated Code", "summary": "The GNU Compiler Collection (GCC) has adopted a policy rejecting substantial code contributions generated by or derived from large language models (LLMs), including code from tools like ChatGPT, Gemini, or GitHub Copilot, even if later edited or rewritten by a human. The policy allows limited exceptions for legally insignificant or trivial changes, provided LLM use is disclosed, and for copyright-significant AI-generated test cases. GCC maintainers emphasize that merely altering generated code does not make it acceptable, and contributions derived from LLM-generated content remain subject to the policy.", "body_md": "GCC has adopted a policy rejecting substantial code contributions generated by or derived from LLMs. \"This covers not just code copied directly from tools like ChatGPT, Gemini, or GitHub Copilot, but also any versions of the code later edited or rewritten by a human, provided that the final contribution is still based on material generated by the system,\" reports Linuxiac. From the report: The important point, then, is not whether a developer has used an AI tool at some stage in their work; contributors can use LLMs to discuss ideas, understand existing code, learn about a field they are unfamiliar with, or carry out general research. The limitation lies in the inclusion of copyright-significant material generated by such tools in the code submitted to GCC.\nThe policy also provides for a few limited exceptions; GCC maintainers are allowed to accept changes that are legally insignificant or trivial and are generated by an LLM, on the condition that they meet the project's normal contribution requirements and the use of an LLM is clearly disclosed.\nFurthermore, copyright-significant AI-generated test cases could still be accepted. Since test cases usually involve small programs which are intended to reproduce compiler bugs or to verify certain behavior, the policy deals with them separately from code that is incorporated into GCC itself.\nIt does not follow that merely looking at or altering the generated code makes it acceptable. By the rules that have been adopted, a contributor cannot take substantial implementation produced by an LLM, clean it up manually, and then treat the resulting patch as if it had been originally written by them. Once a contribution has been derived from generated content, it is still subject to the policy.[Read more of this story](https://news.slashdot.org/story/26/07/29/2217254/gcc-adopts-policy-rejecting-significant-ai-generated-code?utm_source=rss1.0moreanon&utm_medium=feed) at Slashdot.", "url": "https://wpnews.pro/news/gcc-adopts-policy-rejecting-significant-ai-generated-code", "canonical_source": "https://news.slashdot.org/story/26/07/29/2217254/gcc-adopts-policy-rejecting-significant-ai-generated-code?utm_source=rss1.0mainlinkanon&utm_medium=feed", "published_at": "2026-07-30 15:00:00+00:00", "updated_at": "2026-07-30 15:06:59.291024+00:00", "lang": "en", "topics": ["ai-policy", "developer-tools", "artificial-intelligence"], "entities": ["GCC", "GNU Compiler Collection", "ChatGPT", "Gemini", "GitHub Copilot", "Linuxiac", "Slashdot"], "alternates": {"html": "https://wpnews.pro/news/gcc-adopts-policy-rejecting-significant-ai-generated-code", "markdown": "https://wpnews.pro/news/gcc-adopts-policy-rejecting-significant-ai-generated-code.md", "text": "https://wpnews.pro/news/gcc-adopts-policy-rejecting-significant-ai-generated-code.txt", "jsonld": "https://wpnews.pro/news/gcc-adopts-policy-rejecting-significant-ai-generated-code.jsonld"}}