Skip to content

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

Closed

Description

@gopherbot

@cuonglm requested issue #77919 to be considered for backport to the next 1.26 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.26.1 milestone on Mar 3, 2026
  2. changed the title [-]ICE: len larger than cap for OSLICEHEADER [1.26 backport][/-] [+]cmd/compile: internal compiler error len larger than cap for OSLICEHEADER [1.26 backport][/+] on Mar 3, 2026
  3. modified the milestones: Go1.26.1, Go1.26.2 on Mar 6, 2026
  4. gopherbot commented on Mar 10, 2026

    @gopherbot
    ContributorAuthor

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

  5. added
    CherryPickApprovedUsed during the release process for point releases
    and removed
    CherryPickCandidateUsed during the release process for point releases
    on Mar 11, 2026
  6. cagedmantis commented on Mar 19, 2026

    @cagedmantis
    Contributor

    @cuongim The original issue #77919 has two CLs associated with it. One of those CLs has not been backported. I wanted to double check that https://go.dev/cl/751380 was not intended to be backported. It looks like cleanup, but I wanted to double check before submitting this fix.

  7. cagedmantis commented on Mar 19, 2026

    @cagedmantis
    Contributor

    @cuonglm Nevermind. I answered my own question. Sorry for the noise.

  8. added a commit that references this issue on Mar 19, 2026
    ace2cf6
  9. added a commit that references this issue on Jul 22, 2026
    165cdd5
  10. added a commit that references this issue on Sep 4, 2026
    0df392e
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