Skip to content

cmd/compile: crash the compiler if trying to pass a SSA generic value of different sizes into each other #79877

Description

@Jorropo
go version go1.27-devel_35e6f583ff Fri Jun 5 19:04:53 2026 -0700 linux/amd64

As in we should crash the compiler when trying to do things like this: (And64 x (Const32 [-1]))

This would make sure bugs like #79874 never escape us again.

Metadata

Metadata

Assignees

Labels

FixPendingIssues that have a fix which has not yet been reviewed or submitted.compiler/runtimeIssues related to the Go compiler and/or runtime.

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions