DEVELOPMENT VERSION: This is an experimental DALICC environment. Features, data and APIs may change or be reset without notice. A stable version of this service, with a potentially different feature set, will be made available soon at dalicc.net.

GNU General Public License 3 with GCC Runtime Library exception 3.1

The same license with an exception of GNU General Public License 3. A variant models the same legal text with one thing changed, so it is a license of its own with an address of its own and it is listed like any other.


Also known as GNU General Public License v3.0 only with GCC Runtime Library exception 3.1, GPL-3.0 with GCC Runtime Library exception, GPL-3.0-only WITH GCC-exception-3.1, GPL-3.0-only-with-GCC-exception-3.1, GPLv3 with GCC Runtime Library exception.

Commercial use
allowed
Share alike
required
Attribution
required (keep the copyright and license notices)

Write this as a license text (needs an account) DALICC reads the model above and writes what it permits, requires and prohibits in plain English. Without an account, the Text download above writes the model out from the vocabulary.

Canonical URI https://dalicc.net/licenselibrary/GPL-3.0-only-with-GCC-exception-3.1

Permissions

  • Charge distribution fee from the text The text says: "You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee." Charging a fee for the act of providing a copy of the work to someone else.
  • Commercial use from the text Using the work to generate income, directly or indirectly, for example by selling it or by using it in advertising.
  • Derivative works from the text Distributing an adaptation of the work and making it available to the public.
  • Derive from the text Creating a new work from the work, such as a translation, adaptation or arrangement of it or of a part of it.

    Duties

    • Attribution from the text Giving credit to the copyright holders or authors of the work, in the form the licensor asks for.
    • Modification notice from the text Marking a changed work as changed, saying how it differs from the original and keeping earlier notices of change.
    • Notice from the text Notice: keeping the license and copyright notices with every copy.
    • Source code from the text Providing access to the source code of the work with every copy distributed.
  • Display from the text Showing the work to the public without making a copy the viewer keeps.
  • Distribute from the text Providing copies of the work to the public or to anyone else.

    Duties

    • Attribution from the text Giving credit to the copyright holders or authors of the work, in the form the licensor asks for.
    • Notice from the text Notice: keeping the license and copyright notices with every copy.
    • Source code from the text Providing access to the source code of the work with every copy distributed.
  • Excepted combination from the text Combining or linking the covered work with the material an exception names and conveying the result without the condition the exception lifts.
  • Modified works from the text Distributing a modified version of the work that does not amount to a new, derivative work.
  • Modify from the text Altering the work, for example by updating it, without creating a new work; an alteration that creates a new work is Derive.

    Duties

    • Attribution from the text Giving credit to the copyright holders or authors of the work, in the form the licensor asks for.
    • Modification notice from the text Marking a changed work as changed, saying how it differs from the original and keeping earlier notices of change.
    • Notice from the text Notice: keeping the license and copyright notices with every copy.
    • Source code from the text Providing access to the source code of the work with every copy distributed.
  • Patent grant from the text Granting a license under the patent claims that a contributor holds and that the contribution necessarily infringes.
  • Present from the text Performing the work in public, including by broadcast or other communication to the public.
  • Reproduce from the text Making copies of the work in any form.

Prohibitions

  • Change license from the text Not permitted: Change license. Replacing the license of the work, or of an adaptation, with another license, or changing its terms.

License-wide duties

  • Share alike from the text Adaptations have to be licensed under the same license or one the license names as compatible.

What applies by default

The statements above are the library's reading of this license: each is marked with the sentence it rests on, or as a library convention where the text is not explicit. The statements below are the ones the DALICC reasoner supplies for acts the license says nothing about, from the default rules of the dependency graph it reasons with. Each one names the legal source it rests on. None of it is in the record.

  • Promote by default rule (adopted) Using the name or trademarks of the licensor or of contributors to endorse or promote a product.

    This license says nothing about Promote, and the graph applies this reading in all jurisdictions it covers: it is not permitted unless the license permits it.

    A licence that says nothing about endorsement is read as not allowing it: the licence gives the licensee no right to use the licensor's name or marks in a way that states or implies that the licensor endorses the licensee or its product, while stating truthfully that a work is based on or uses the licensed work is a different act that this rule does not decide. A copyright licence grants rights in the work, and the right to use a name or a trademark is a separate right under trademark law and the protection of names, which a silent copyright licence does not pass on. Combining a licence that is silent about endorsement with one that permits it shows a conflict marked as coming from this rule.

    Basis Trademark and name rights are separate from copyright: Regulation (EU) 2017/1001 article 9 lets the proprietor of an EU trade mark prevent all third parties not having his consent from using the sign in the course of trade, and Directive (EU) 2015/2436 article 10, 15 U.S.C. 1114 and 1125(a), section 12 BGB and section 43 ABGB protect marks and names in the same way. The library's evidence is Creative Commons 4.0 section 2(b)(2): Patent and trademark rights are not licensed under this Public License. A copyright licence that is silent grants no right to use the licensor's name or marks to suggest endorsement (Worldwide)

Further terms

These are the things the license says about itself beyond the acts it permits, forbids and requires: when it ends, how long there is to put a breach right, which law governs it, and so on. A term that comes from the DALICC vocabulary links to its definition.

Cure period
30 days
Or later version option
No
Reciprocity scope
the runtime library, not target code that combines it with independent modules
Terminates on breach
Yes

Clauses

Warranty disclaimer

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

Limitation of liability

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Accepting warranty or additional liability

you may offer support or warranty protection for a fee

Additional clauses

GCC RUNTIME LIBRARY EXCEPTION Version 3.1, 31 March 2009 General information: http://www.gnu.org/licenses/gcc-exception.html Copyright (C) 2009 Free Software Foundation, Inc. <http://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. This GCC Runtime Library Exception ("Exception") is an additional permission under section 7 of the GNU General Public License, version 3 ("GPLv3"). It applies to a given file (the "Runtime Library") that bears a notice placed by the copyright holder of the file stating that the file is governed by GPLv3 along with this Exception. When you use GCC to compile a program, GCC may combine portions of certain GCC header files and runtime libraries with the compiled program. The purpose of this Exception is to allow compilation of non-GPL (including proprietary) programs to use, in this way, the header files and runtime libraries covered by this Exception. 0. Definitions. A file is an "Independent Module" if it either requires the Runtime Library for execution after a Compilation Process, or makes use of an interface provided by the Runtime Library, but is not otherwise based on the Runtime Library. "GCC" means a version of the GNU Compiler Collection, with or without modifications, governed by version 3 (or a specified later version) of the GNU General Public License (GPL) with the option of using any subsequent versions published by the FSF. "GPL-compatible Software" is software whose conditions of propagation, modification and use would permit combination with GCC in accord with the license of GCC. "Target Code" refers to output from any compiler for a real or virtual target processor architecture, in executable form or suitable for input to an assembler, loader, linker and/or execution phase. Notwithstanding that, Target Code does not include data in any format that is used as a compiler intermediate representation, or used for producing a compiler intermediate representation. The "Compilation Process" transforms code entirely represented in non-intermediate languages designed for human-written code, and/or in Java Virtual Machine byte code, into Target Code. Thus, for example, use of source code generators and preprocessors need not be considered part of the Compilation Process, since the Compilation Process can be understood as starting with the output of the generators or preprocessors. A Compilation Process is "Eligible" if it is done using GCC, alone or with other GPL-compatible software, or if it is done without using any work based on GCC. For example, using non-GPL-compatible Software to optimize any GCC intermediate representations would not qualify as an Eligible Compilation Process. 1. Grant of Additional Permission. You have permission to propagate a work of Target Code formed by combining the Runtime Library with Independent Modules, even if such propagation would otherwise violate the terms of GPLv3, provided that all Target Code was generated by Eligible Compilation Processes. You may then convey such a combination under terms of your choice, consistent with the licensing of the Independent Modules. 2. No Weakening of GCC Copyleft. The availability of this Exception does not imply any general presumption that third-party software is unaffected by the copyleft requirements of the license of GCC.

Info

Target asset types
Software
Region / jurisdiction
Worldwide
Validity
Perpetual
Source
https://spdx.org/licenses/GCC-exception-3.1.html
Legal code
https://www.gnu.org/licenses/gpl-3.0.html
This description is published under
Creative Commons Attribution 4.0 International
Publisher
Free Software Foundation
SPDX identifier
GPL-3.0-only WITH GCC-exception-3.1 on the SPDX license list
Version
3.0
DALICC identifier
GPL-3.0-only-with-GCC-exception-3.1

This record is published under CC BY 4.0. Credit it as: DALICC License Library, DALICC - Verein zur Förderung der Rechtssicherheit in der Datenbewirtschaftung, https://dalicc.net, CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). The license it describes belongs to its publisher.

Use this license

Everything below is generated from this record. Replace the example address with the address of your own work.

JSON sidecar

{
  "license-uri": "https://dalicc.net/licenselibrary/GPL-3.0-only-with-GCC-exception-3.1",
  "license-title": "GNU General Public License 3 with GCC Runtime Library exception 3.1",
  "spdx-id": "GPL-3.0-only WITH GCC-exception-3.1",
  "attribution": "Copyright (c) [year] [copyright holder]",
  "asset": null,
  "generated-by": "DALICC"
}

RDF, Turtle

@prefix cc: <http://creativecommons.org/ns#> .

<https://example.org/my-work>
    cc:license <https://dalicc.net/licenselibrary/GPL-3.0-only-with-GCC-exception-3.1> .

RDF, JSON-LD

{
  "@context": {
    "cc": "http://creativecommons.org/ns#"
  },
  "@id": "https://example.org/my-work",
  "cc:license": {
    "@id": "https://dalicc.net/licenselibrary/GPL-3.0-only-with-GCC-exception-3.1"
  }
}

HTML attribution

<p>This work is licensed under <a href="https://dalicc.net/licenselibrary/GPL-3.0-only-with-GCC-exception-3.1" rel="license">GNU General Public License 3 with GCC Runtime Library exception 3.1</a>.</p>

This license asks for attribution, so the credit line is part of it.

Badge DALICC badge for GNU General Public License 3 with GCC Runtime Library exception 3.1

Markdown

[![License: GNU General Public License 3 with GCC Runtime Library exception 3.1](https://dalicc.net/license-library/GPL-3.0-only-with-GCC-exception-3.1/badge.svg)](https://dalicc.net/license-library/GPL-3.0-only-with-GCC-exception-3.1)

HTML

<a href="https://dalicc.net/license-library/GPL-3.0-only-with-GCC-exception-3.1"><img src="https://dalicc.net/license-library/GPL-3.0-only-with-GCC-exception-3.1/badge.svg" alt="License: GNU General Public License 3 with GCC Runtime Library exception 3.1"></a>

Review

Written from the license text by
Giray Havur
Written on
2026-09-22
Second review
not yet done
Record changed since this review
yes (version 2, 2026-09-24)
Findings
15 recorded, 14 applied to the record, 0 proposed

The record models GPL version 3 with the GCC runtime library exception 3.1, the combination the runtime libraries of the GNU Compiler Collection carry. It keeps every statement of the GPL-3.0-only record and adds one permission for target code that a compiler produces by combining the runtime library with independent modules. The exception only holds where every compilation step was eligible, which the record quotes because the condition has no term.

15 findings
  • info Rubric 1 spdx:licenseId applied

    File name, record identifier, IRI local name and title agree. spdx:licenseId carries the SPDX expression "GPL-3.0-only WITH GCC-exception-3.1": the base identifier, one space, WITH in capitals, one space, the exception identifier. No record in the library carried an expression before, so the SPDX mapping and the spdx route have to accept the space and the keyword.

  • info Rubric 1 cc:legalcode applied

    cc:legalcode points at the text of the base licence, https://www.gnu.org/licenses/gpl-3.0.html, because that is the licence the record models. dct:source points at the SPDX page of the exception, https://spdx.org/licenses/GCC-exception-3.1.html, because that is where the additional permission is published.

  • info Rubric 2 odrl:target applied

    odrl:target is the one the base record carries: an odrl:AssetCollection of dct:type dcmitype:Software. The exception is about program files, so nothing changes.

  • major Rubric 3 odrl:permission applied

    Section 1 of the exception reads: "You have permission to propagate a work of Target Code formed by combining the Runtime Library with Independent Modules, even if such propagation would otherwise violate the terms of GPLv3, provided that all Target Code was generated by Eligible Compilation Processes. You may then convey such a combination under terms of your choice, consistent with the licensing of the Independent Modules." The target code is material the share-alike condition no longer reaches, which is the permission dalicc:exceptedCombination.

  • info Rubric 3 odrl:permission applied

    Every permission of GPL-3.0-only is kept, in the same place and with the same duties. An exception adds an additional permission to a licence; it never takes a granted right away.

  • info Rubric 4 odrl:prohibition applied

    The exception lets the combined result travel under other terms, and the vocabulary cannot say that of a part of a work. Section 1 says of the combination: "You may then convey such a combination under terms of your choice, consistent with the licensing of the Independent Modules." A dalicc:ChangeLicense permission would say the licence of the covered work itself may be replaced, which is false and would contradict the whole-work share-alike duty. The record therefore keeps the prohibition, states the narrowed reach in dalicc:reciprocityScope and quotes the clause. Proposed term: dalicc:combinedWorkRelicensing, a permission for putting a larger work that contains the covered material under other terms.

  • info Rubric 5 odrl:duty applied

    The licence-wide cc:ShareAlike duty stays on the odrl:Set, and section 2 of the exception says why: "The availability of this Exception does not imply any general presumption that third-party software is unaffected by the copyleft requirements of the license of GCC."

  • info Rubric 6 dalicc:additionalClauses applied

    The exception text is quoted verbatim as one literal, taken from https://raw.githubusercontent.com/spdx/license-list-data/main/text/GCC-exception-3.1.txt. Line breaks and the indentation of the source file are collapsed to single spaces, which is how every clause literal in the library is written; the wording is untouched. The warranty disclaimer and the liability limitation are the ones the base record quotes from the base licence.

  • info Rubric 7 cc:jurisdiction applied

    cc:jurisdiction stays dalicc:worldwide and dalicc:validityType stays dalicc:perpetual: the exception names no territory and no term. The termination clause of the base licence still applies, and the record says no more about it than the base record does.

  • gap Rubric 8 dalicc:exceptedCombination applied

    The exception carves the combination out of the condition of the licence, not out of its grant. dalicc:exemptedMaterial says the opposite and is prohibited on OGL-UK-1.0, OGL-UK-2.0 and NLOD-2.0, where it means material the licence never granted. The vocabulary defines dalicc:exceptedCombination for this side of it since 2026-09-23, and the record carries it as a permission.

  • gap Rubric 8 dalicc:additionalClauses none

    The exception holds only for an eligible compilation: "A Compilation Process is "Eligible" if it is done using GCC, alone or with other GPL-compatible software, or if it is done without using any work based on GCC." The permission therefore depends on how the result was produced, and no term expresses a condition on the tool chain. Proposed term: dalicc:exceptionVoidingCondition, or a qualifier naming the process the exception requires.

  • info Rubric 9 record applied

    app.services.composer.consistency_check with the default dependency graph reports 0 conflicts for this record. dalicc:exceptedCombination takes part in no dependency relation, so it neither creates nor hides one.

  • info Rubric 10 record applied

    The nearest sibling is GPL-3.0-or-later-with-GCC-exception-3.1, the same exception on the version with the option, which this addition creates in another set of records. GPL-2.0-only-with-GCC-exception-2.0 carries the older, much shorter exception on GPL version 2; the two are not the same text and their dalicc:reciprocityScope literals differ.

  • minor Rubric 4 odrl:prohibition applied

    dalicc:promote was prohibited and no sentence of this text supports it. The statement was the library's reading of a legal default, that a copyright licence which says nothing about endorsement grants no right to it, and it sat in 519 of 581 records as a house convention. That reading is now an adopted dalicc:DefaultRule of the core dependency graph, which supplies it to every licence that is silent about the action, so a compatibility check reaches the same answer and the record states only what the text states. Removed on 2026-09-23; see section 13 of docs/LICENSE_REVIEW.md.

  • minor Rubric 6 dalicc:WarrantyOrLiabilityAcceptance applied

    dalicc:WarrantyOrLiabilityAcceptance held the whole sentence of Section 4, "You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee." Its first half is the permission to charge for a copy, which the record states as dalicc:chargeDistributionFee, and not a warranty clause. The literal now quotes only the second half, "you may offer support or warranty protection for a fee".

Report an issue The review record as JSON The review checks the model against the license text. It is not legal advice.

History

This license model has 2 versions. Version 2 is the one served today; every earlier version keeps its own address, so a conclusion drawn from one of them can still be checked against it.

  1. Version 2 current2026-09-24 Giray Havur

    The changes since version 1 left endorsement to the default rule of the core dependency graph, recorded which sentence of the text each statement rests on, corrected it against its text on 2026-09-24 and named the license the record itself is published under.

    4 changes
    • removed prohibition dalicc:promote

      Manual edit The endorsement prohibition rested on no sentence of the text; the default rule for endorsement now supplies it.

    • changed permission dalicc:chargeDistributionFee

      was permission dalicc:chargeDistributionFee

      Manual edit The statement now quotes the sentence of the licence text it rests on: "You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee."

    • changed dalicc:WarrantyOrLiabilityAcceptance "you may offer support or warranty protection for a fee"

      was dalicc:WarrantyOrLiabilityAcceptance "You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee."

      Manual edit The first half of the Section 4 sentence, "You may charge any price or no price for each copy that you convey", is the permission to charge for a copy, not a warranty clause.

    • added dct:license <https://creativecommons.org/licenses/by/4.0/>

      Manual edit Every record is published under CC BY 4.0. cc:license names the record DALICC keeps of that licence; dct:license now names it by the address Creative Commons publishes it at, so that a consumer matching the canonical IRI finds it.

  2. Version 1

    Created from the license text on 2026-09-22 (GNU copyleft family (GPL, LGPL, AGPL, FDL)).

Every change names the reason behind it: a finding of the content review, one of its library-wide decisions, the metadata that review wrote onto every record, or a hand edit. None of it is legal advice.

Nothing on this page is legal advice. What a license means is decided by its text; ask a legal advisor before you rely on it.