Skip to content

cmd/compile: out-of-bounds panic with uint32 conversion and modulus operation in Go 1.22.0 on arm64 [1.22 backport] #66076

Closed

Description

@gopherbot

@randall77 requested issue #66066 to be considered for backport to the next 1.22 minor release.

@gopherbot please open a backport issue for 1.22.

Activity

  1. added
    CherryPickCandidateUsed during the release process for point releases
    compiler/runtimeIssues related to the Go compiler and/or runtime.
    on Mar 3, 2024
  2. modified the milestones: Go1.22.1, Go1.22.2 on Mar 3, 2024
  3. gopherbot commented on Mar 21, 2024

    @gopherbot
    ContributorAuthor

    Change https://go.dev/cl/573375 mentions this issue: cmd/compile: fix sign/zero-extension removal

  4. randall77 commented on Mar 21, 2024

    @randall77
    Contributor

    Backport rationale: this bug causes a silent miscompilation of certain casts from smaller to larger integer types.

  5. gopherbot commented on Mar 21, 2024

    @gopherbot
    ContributorAuthor

    Change https://go.dev/cl/573395 mentions this issue: cmd/compile: don't assume args are always zero-extended

  6. gopherbot commented on Mar 21, 2024

    @gopherbot
    ContributorAuthor

    Change https://go.dev/cl/573395 mentions this issue: [release-branch.go1.22] cmd/compile: don't assume args are always zero-extended

  7. thanm commented on Mar 27, 2024

    @thanm
    Contributor

    Approved; serious problem with no workaround.

  8. added
    CherryPickApprovedUsed during the release process for point releases
    and removed
    CherryPickCandidateUsed during the release process for point releases
    on Mar 27, 2024
  9. gopherbot commented on Mar 27, 2024

    @gopherbot
    ContributorAuthor

    Closed by merging 4658748 to release-branch.go1.22.

  10. gopherbot commented on Mar 27, 2024

    @gopherbot
    ContributorAuthor

    Closed by merging 2c6d106 to release-branch.go1.22.

  11. locked and limited conversation to collaborators on Mar 27, 2025
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 releasesFrozenDueToAgecompiler/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