Skip to content

cmd/compile: uint64(int8(-128)) < 0xFFFFFFFF is true on s390x (go1.26+) [1.27 backport] #82795

Open

Description

@gopherbot

@Jorropo requested issue #82774 to be considered for backport to the next 1.27 minor release.

cc @gopherbot please open backport issues for 1.27 and 1.26

This is a misscompilation.

Activity

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

    @gopherbot
    ContributorAuthor

    Change https://go.dev/cl/859742 mentions this issue: [release-branch.go1.27] cmd/compile: do not narrow an unsigned compare of a sign-extended value

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