Skip to content

cmd/compile: internal compiler error len larger than cap for OSLICEHEADER [1.25 backport] #77921

Closed

Description

@gopherbot

@cuonglm requested issue #77919 to be considered for backport to the next 1.25 minor release.

@gopherbot Please backport this to go1.25 and go1.26 branch.

This causes an ICE when compiling certain programs with non-constant argument to make.

Activity

  1. added this to the Go1.25.8 milestone on Mar 3, 2026
  2. changed the title [-]ICE: len larger than cap for OSLICEHEADER [1.25 backport][/-] [+]cmd/compile: internal compiler len larger than cap for OSLICEHEADER [1.25 backport][/+] on Mar 3, 2026
  3. changed the title [-]cmd/compile: internal compiler len larger than cap for OSLICEHEADER [1.25 backport][/-] [+]cmd/compile: internal compiler error len larger than cap for OSLICEHEADER [1.25 backport][/+] on Mar 3, 2026
  4. modified the milestones: Go1.25.8, Go1.25.9 on Mar 6, 2026
  5. gopherbot commented on Mar 10, 2026

    @gopherbot
    ContributorAuthor

    Change https://go.dev/cl/753600 mentions this issue: [release-branch.go1.25] cmd/compile/internal/typecheck: simplify tcSliceHeader

  6. added
    CherryPickApprovedUsed during the release process for point releases
    and removed
    CherryPickCandidateUsed during the release process for point releases
    on Mar 11, 2026
  7. added a commit that references this issue on Mar 19, 2026
    19c660d
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