Skip to content

cmd/compile: devirtualization causes incorrect runtime panic on promoted method of value-embedded generic struct [1.26 backport] #78409

@gopherbot

Description

@gopherbot

@mateusz834 requested issue #78404 to be considered for backport to the next 1.26 minor release.

@gopherbot please open backport issues for go 1.26.

Recent changes in devirtualization logic might cause miscompilations (will always result with a runtime panic).

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