Skip to content

cmd/compile: wrong calculation result for bit operation that's inlined and has all constant shifts in rewrite rules [1.12 backport] #32712

@gopherbot

Description

@gopherbot

@dr2chase requested issue #32680 to be considered for backport to the next 1.12 minor release.

@gopherbot please open backport issues. It technically fails the regression policy (been broken too long -- probably since 1.9) but it is a silent bad code problem which is very bad, and the fix is very low risk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions