Legally significant contributions that include or derive from LLM-generated content are declined, except for test cases; small LLM-generated changes may be accepted if clearly marked with Assisted-by. AI may be used for research, bug finding, review and debugging if its output stays out of the contribution.
Policy by area
- Code contributionsPatches, pull requests and other changes written with AI tools.
- Unfriendly
- Issues & bug reportsBug reports, security reports and issues found or written with AI tools.
- Friendly
- A human must review the output
- AI-written textPull request descriptions, issue comments and summaries written by AI.
- Unfriendly
- Only minor help (autocomplete, grammar)
In their own words
Code contributions
For the time being, the GNU Compiler Collection (GCC) policy is to decline any legally significant contributions which include LLM-generated content or are derived from LLM-generated content.
The commit message for any contribution of LLM-generated content must include an “Assisted-by:” tag.
Issues & bug reports
This policy does not apply to a contributor's use of AI for the purposes of research, analysis, bug discovery and reporting (output should not be sent verbatim without due consideration), patch review (supporting human review, not replacing it) and debugging, so long as the output is not included in the contributions to the project.
AI-written text
This policy does not apply to a contributor's other uses of AI including the use of these tools to enable them to work with their own computing devices e.g. screen readers, text-to-speech, direct translations, spelling or grammar assistance, where the contributor verifies the output of the tool.
Sources
- GCC AI Policygcc.gnu.org/ai-policy.htmlSnapshot 9 Oct 2026