Skip to content

cmd/compile: amd64/386 miscompile (comparison sharing flags with an SBB carry mask reads them clobbered) [1.26 backport] #82837

Open

Description

@gopherbot

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

cc @gopherbot please open backport issues for 1.26 and 1.27

Activity

  1. added
    CherryPickCandidateUsed during the release process for point releases
    compiler/runtimeIssues related to the Go compiler and/or runtime.
    on Nov 3, 2026
  2. added this to the Go1.26.11 milestone on Nov 3, 2026
  3. gopherbot commented on Nov 5, 2026

    @gopherbot
    ContributorAuthor

    Change https://go.dev/cl/859802 mentions this issue: [release-branch.go1.26] cmd/compile: mark the x86 SBB carry-mask ops as clobbering flags

  4. modified the milestones: Go1.26.11, Go1.26.12 on Nov 10, 2026
  5. prattmic commented on Nov 10, 2026

    @prattmic
    Member

    We have recently received a large number of miscompilation bugs discovered via automated tooling, and expect to find more. While these issues should certainly be fixed, we are considering only approving backports for recent regressions and/or bugs affecting real production applications.

    To help us decide, could you please confirm when this issue was introduced and whether you are aware of problems it causes for real production applications?

    From the parent issue, I gather:

    Introduced: Unclear; broken in Go 1.24
    Impact: Unclear

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

    CherryPickCandidateUsed 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