{
  "bundle": {
    "affected_versions": [
      "13.2.0",
      "14.2.0",
      "15.3.0",
      "16.1.0",
      "16.2.0"
    ],
    "application_command": "patch --fuzz=0 -p1 -i bundles/cxx-ada-template-record-termination/patches/VARIANT.patch",
    "build_command": "PATH=/path/to/bootstrap/bin:$PATH ./scripts/build-gnat.sh SOURCE BUILD INSTALL",
    "directory": "bundles/cxx-ada-template-record-termination",
    "expected_failure_before_patch": "GNAT rejects the generated Ada specification at the unterminated C_Pass_By_Copy aspect.",
    "expected_success_after_patch": "Every generated template record is terminated and the Ada consumer compiles at -O0 and -O2.",
    "files_modified": [
      "gcc/c-family/c-ada-spec.cc",
      "gcc/testsuite/g++.dg/ada-spec/template-record-termination.C"
    ],
    "fixture_sha256": "c8497f40d88ee08980eb6d7414f8a01c95e81161974093fee81d2adc6dde4f13",
    "id": "cxx-ada-template-record-termination",
    "introduced_in_patchset": "1.2.0",
    "known_good_versions": [],
    "licensing": "GCC-derived compiler hunks remain GPL-3.0-or-later. The new test is proposed for the GCC testsuite under GCC project terms.",
    "patch_statistics": {
      "gcc-13-14": {
        "additions": 77,
        "deletions": 0,
        "files": 2
      },
      "gcc-15-16": {
        "additions": 77,
        "deletions": 0,
        "files": 2
      }
    },
    "problem": "The C++ Ada spec dumper omits the terminating semicolon from trivial record declarations emitted for concrete class-template instances.",
    "readme_path": "bundles/cxx-ada-template-record-termination/README.md",
    "regression_tests": [
      "gcc/testsuite/g++.dg/ada-spec/template-record-termination.C"
    ],
    "repository_fixture": "bundles/cxx-ada-template-record-termination/tests/template-record-termination.C",
    "repository_test_runner": "bundles/cxx-ada-template-record-termination/run-test.sh",
    "roles": {
      "1.0.0": {
        "13": {
          "role": "absent",
          "source_version": "13.2.0",
          "variant": null
        },
        "14": {
          "role": "absent",
          "source_version": "14.2.0",
          "variant": null
        },
        "15": {
          "role": "absent",
          "source_version": "15.3.0",
          "variant": null
        },
        "16": {
          "role": "absent",
          "source_version": "16.1.0",
          "variant": null
        }
      },
      "1.0.1": {
        "13": {
          "role": "absent",
          "source_version": "13.2.0",
          "variant": null
        },
        "14": {
          "role": "absent",
          "source_version": "14.2.0",
          "variant": null
        },
        "15": {
          "role": "absent",
          "source_version": "15.3.0",
          "variant": null
        },
        "16": {
          "role": "absent",
          "source_version": "16.1.0",
          "variant": null
        }
      },
      "1.1.0": {
        "13": {
          "role": "absent",
          "source_version": "13.2.0",
          "variant": null
        },
        "14": {
          "role": "absent",
          "source_version": "14.2.0",
          "variant": null
        },
        "15": {
          "role": "absent",
          "source_version": "15.3.0",
          "variant": null
        },
        "16": {
          "role": "absent",
          "source_version": "16.2.0",
          "variant": null
        }
      },
      "1.2.0": {
        "13": {
          "role": "patched",
          "source_version": "13.2.0",
          "variant": "gcc-13-14"
        },
        "14": {
          "role": "patched",
          "source_version": "14.2.0",
          "variant": "gcc-13-14"
        },
        "15": {
          "role": "patched",
          "source_version": "15.3.0",
          "variant": "gcc-15-16"
        },
        "16": {
          "role": "patched",
          "source_version": "16.2.0",
          "variant": "gcc-15-16"
        }
      }
    },
    "schema": 1,
    "source_provenance": "Repository-authored GCC patch and executable regression; exact application verified locally against the pinned Darwin release identities. Pinned FSF release application is required by Linux CI.",
    "standalone_patch": true,
    "status": "accepted",
    "test_command": "./scripts/run-regressions.sh INSTALL 1.2.0 GCC_MAJOR patched",
    "tests": [
      "bundles/cxx-ada-template-record-termination/tests/template-record-termination.C",
      "bundles/cxx-ada-template-record-termination/tests/template_record_termination_consumer.adb"
    ],
    "title": "C++ Ada template record termination",
    "upstream_issue": "Pending GCC Bugzilla filing.",
    "upstream_submission_state": "Not yet filed or submitted upstream.",
    "variants": [
      {
        "id": "gcc-13-14",
        "patch": "bundles/cxx-ada-template-record-termination/patches/gcc-13-14.patch",
        "sha256": "d3e4f3784943166957eb53b8ec5031f91eedc4946b272e6122149625cf06a8ae",
        "source_flavors": [
          "linux",
          "darwin_arm64"
        ],
        "versions": [
          "13.2.0",
          "14.2.0"
        ]
      },
      {
        "id": "gcc-15-16",
        "patch": "bundles/cxx-ada-template-record-termination/patches/gcc-15-16.patch",
        "sha256": "410ff115e39d1b6f9e3f5c31c3bebec41e2f10cf2d2641b0e78b1e2f0ba31ef7",
        "source_flavors": [
          "linux",
          "darwin_arm64"
        ],
        "versions": [
          "15.3.0",
          "16.1.0",
          "16.2.0"
        ]
      }
    ]
  },
  "canonical_url": "https://gnat-patches.flyology.org/",
  "generated_at": "2026-08-20T17:38:49Z",
  "latest_patchset": "1.2.0",
  "latest_published_patchset": "1.1.0",
  "publication_checked": true,
  "repository_url": "https://github.com/flyology-ada/gnat-patches",
  "schema_version": 1
}
