Skip to content

cmd/compile: branchelim optimization can eliminate result of store [1.26 backport] #81865

Open

Description

@gopherbot

@Jorropo requested issue #81863 to be considered for backport to the next 1.26 minor release.

cc @gopherbot please open backport issues for 1.27 and 1.26

This is a misscompilation that silently gives wrong answers.

Activity

  1. added
    CherryPickCandidateUsed during the release process for point releases
    compiler/runtimeIssues related to the Go compiler and/or runtime.
    on Sep 29, 2026
  2. added this to the Go1.26.9 milestone on Sep 29, 2026
  3. added
    CherryPickApprovedUsed during the release process for point releases
    and removed
    CherryPickCandidateUsed during the release process for point releases
    on Oct 6, 2026
  4. dmitshur commented on Oct 6, 2026

    @dmitshur
    Member

    The upstream issue was fixed by CL 841425, so approving that for backport. Please comment if that's not right.

  5. gopherbot commented on Oct 6, 2026

    @gopherbot
    ContributorAuthor

    Change https://go.dev/cl/845967 mentions this issue: [release-branch.go1.26] cmd/compile: teach deadstore about CondSelect

  6. modified the milestones: Go1.26.9, Go1.26.10 on Oct 8, 2026
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions