You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd/compile panics with an ICE on this (invalid) input:
package p
var v uint
var x = []byte((1 << v) + 1)
For comparison, go/types emits cannot convert (1 << v) + 1 (untyped int value) to []byte, while gccgo emits invalid context-determined non-integer type for left operand of shift.
Self-assigning for now since I'm working on CL 187657, which doesn't currently fix this, but I expect can easily be made to.
The text was updated successfully, but these errors were encountered:
Unless I've misunderstood the discussion above, it seems that this issue can be closed, since the crash on the reproducer is now fixed. @mdempsky is that correct?
cmd/compile panics with an ICE on this (invalid) input:
For comparison, go/types emits
cannot convert (1 << v) + 1 (untyped int value) to []byte
, while gccgo emitsinvalid context-determined non-integer type for left operand of shift
.Self-assigning for now since I'm working on CL 187657, which doesn't currently fix this, but I expect can easily be made to.
The text was updated successfully, but these errors were encountered: