Back Home

開源治理與 AI 程式工具

GCC Rejects Copyright-Significant LLM-Derived Content, While Maintainers May Make Exceptions for Generated Tests

The GCC Steering Committee has approved an AI contribution policy that generally rejects substantial code and text containing or derived from LLM output. Models may still be used for debugging, analysis, and review, and maintainers may accept generated tests, but their output cannot be incorporated directly into ordinary contributions.

Isacdaavid · GPL · Image source
zh-Hant

The GCC Steering Committee has formally adopted contribution rules proposed by the AI Policy Working Group, establishing a more nuanced boundary for how a major foundational open-source project handles generative code. The new policy does not completely prohibit contributors from using LLMs. Instead, it focuses on whether model output becomes part of GCC source code, documentation, or other material for which copyright ownership must be addressed.

According to the policy summary, the project will reject “legally significant” contributions that contain LLM-generated content or are derived from such content. The determination follows the practical threshold in the GNU Maintainer Guidelines—approximately 15 lines of code or text. This means small, non-substantial changes may not necessarily fall within the rejection criteria. However, a large agent-generated patch cannot be treated as human-authored merely because someone manually polished its wording or code. The policy also creates a technical exception: maintainers may choose to accept legally significant LLM-generated test cases.

Permitted uses include research, program analysis, finding and reporting bugs, reviewing patches, and assistance with spelling, grammar, direct translation, and accessibility. These uses are allowed provided that the model output itself is not incorporated into the contribution and that contributors verify the results of permitted uses. For engineers using coding agents, the practical workflow must therefore preserve the distinction between “using a model to aid understanding” and “having a model directly write deliverable content.” If an agent has already generated an implementation, human review alone may not be sufficient to comply with the rules; someone who understands the problem may need to rewrite it.

One limitation of the policy is that identifying the source of a contribution largely depends on honesty, review, and community trust. There is no reliable way to determine from a patch alone whether a model was used, and the boundaries around documentation drafting, refactoring suggestions, and derivative content may remain contentious. The committee has explicitly stated that the policy will continue to evolve and undergo periodic review. Key questions now include whether GCC will add these rules to contribution checklists, sign-off statements, or review templates, and whether other compiler and kernel projects will adopt the same threshold.

Sources

  1. GCC AI Policy Announcement
  2. GCC AI contributions policy commit
  3. GCC steering committee announces AI policy