Skip to content

cmd/compile: internal compiler error: MoveLoop too small [1.27 backport] #81296

Closed

Description

@gopherbot

@randall77 requested issue #81240 to be considered for backport to the next 1.27 minor release.

@gopherbot Please open backport issues.

This original report is not really strong motivation, as it is an ICE that is happening before we would otherwise report a "stack frame too big" error.
But this could be more insidious. For large types (>2GB?), at certain sizes the compiler will silently incompletely zero or copy those types. Such types are probably really rare, but we should either compile them correctly, or barf somehow. Compiling them incorrectly is pretty bad.

Activity

  1. randall77 commented on Sep 1, 2026

    @randall77
    Contributor

    (Note: backport would also be for #81242.)

  2. added this to the Go1.27.2 milestone on Sep 1, 2026
  3. gopherbot commented on Sep 8, 2026

    @gopherbot
    ContributorAuthor

    Change https://go.dev/cl/828865 mentions this issue: [release-branch.go1.27] cmd/compile: fix large riscv64 move/zero

  4. added a commit that references this issue on Sep 15, 2026
    f8a45f6
  5. gopherbot commented on Sep 15, 2026

    @gopherbot
    ContributorAuthor

    Closed by merging CL 828865 (commit f8a45f6) to release-branch.go1.27.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CherryPickApprovedUsed during the release process for point releasescompiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions