{
  "bundle": {
    "affected_versions": [
      "14.2.0",
      "15.3.0",
      "16.1.0",
      "16.2.0"
    ],
    "application_command": "patch --fuzz=0 -p1 -i bundles/storage-model-actuals/patches/gcc-14-16.patch",
    "build_command": "PATH=/path/to/bootstrap/bin:$PATH ./scripts/build-gnat.sh SOURCE BUILD INSTALL",
    "directory": "bundles/storage-model-actuals",
    "expected_failure_before_patch": "GCC 14 through 16 raise CONSTRAINT_ERROR (erroneous memory access) at the first selected-component actual.",
    "expected_success_after_patch": "The executable test prints PASS reads= 16 writes= 8 read_bytes= 100 write_bytes= 80 at -O0 and -O2.",
    "files_modified": [
      "gcc/ada/exp_ch6.adb",
      "gcc/testsuite/gnat.dg/storage_model_actuals.adb"
    ],
    "fixture_sha256": "83ebec06b0326610c2b239faa5a488e9dc07eafe699d211b0f162dceb5c5f79f",
    "id": "storage-model-actuals",
    "introduced_in_patchset": "1.0.0",
    "known_good_versions": [
      "13.2.0"
    ],
    "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-14-16": {
        "additions": 318,
        "deletions": 9,
        "files": 2
      }
    },
    "problem": "Selected and indexed actuals rooted at Designated_Storage_Model dereferences bypass Copy_From and Copy_To.",
    "readme_path": "bundles/storage-model-actuals/README.md",
    "regression_tests": [
      "gcc/testsuite/gnat.dg/storage_model_actuals.adb"
    ],
    "repository_fixture": "bundles/storage-model-actuals/tests/storage_model_actuals.adb",
    "repository_test_runner": "bundles/storage-model-actuals/run-test.sh",
    "roles": {
      "1.0.0": {
        "13": {
          "role": "control",
          "source_version": "13.2.0",
          "variant": null
        },
        "14": {
          "role": "patched",
          "source_version": "14.2.0",
          "variant": "gcc-14-16"
        },
        "15": {
          "role": "patched",
          "source_version": "15.3.0",
          "variant": "gcc-14-16"
        },
        "16": {
          "role": "patched",
          "source_version": "16.1.0",
          "variant": "gcc-14-16"
        }
      },
      "1.0.1": {
        "13": {
          "role": "control",
          "source_version": "13.2.0",
          "variant": null
        },
        "14": {
          "role": "patched",
          "source_version": "14.2.0",
          "variant": "gcc-14-16"
        },
        "15": {
          "role": "patched",
          "source_version": "15.3.0",
          "variant": "gcc-14-16"
        },
        "16": {
          "role": "patched",
          "source_version": "16.1.0",
          "variant": "gcc-14-16"
        }
      },
      "1.1.0": {
        "13": {
          "role": "control",
          "source_version": "13.2.0",
          "variant": null
        },
        "14": {
          "role": "patched",
          "source_version": "14.2.0",
          "variant": "gcc-14-16"
        },
        "15": {
          "role": "patched",
          "source_version": "15.3.0",
          "variant": "gcc-14-16"
        },
        "16": {
          "role": "patched",
          "source_version": "16.2.0",
          "variant": "gcc-14-16"
        }
      },
      "1.2.0": {
        "13": {
          "role": "control",
          "source_version": "13.2.0",
          "variant": null
        },
        "14": {
          "role": "patched",
          "source_version": "14.2.0",
          "variant": "gcc-14-16"
        },
        "15": {
          "role": "patched",
          "source_version": "15.3.0",
          "variant": "gcc-14-16"
        },
        "16": {
          "role": "patched",
          "source_version": "16.2.0",
          "variant": "gcc-14-16"
        }
      }
    },
    "schema": 1,
    "source_provenance": "Proposed GCC patch and executable gnat.dg test recorded in the upstream issue; source contexts verified against the pinned FSF and Darwin release identities.",
    "standalone_patch": true,
    "status": "accepted",
    "test_command": "./scripts/run-regressions.sh INSTALL 1.1.0 GCC_MAJOR patched",
    "tests": [
      "bundles/storage-model-actuals/tests/storage_model_actuals.adb"
    ],
    "title": "Storage-model component actuals",
    "upstream_issue": "https://github.com/flyology-ada/flyology/issues/27",
    "upstream_submission_state": "Tracked for GCC Bugzilla filing and gcc-patches submission; no GCC PR or mailing-list archive is recorded yet.",
    "variants": [
      {
        "id": "gcc-14-16",
        "patch": "bundles/storage-model-actuals/patches/gcc-14-16.patch",
        "sha256": "58bac1ca3a1c21ca3d097867e1246f6deef98cc048a76fec3d30f3c7b4482a9e",
        "source_flavors": [
          "linux",
          "darwin_arm64"
        ],
        "versions": [
          "14.2.0",
          "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
}
