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
When indexing a slice with a 32-bit integer after checking against uint32(len(s)) or int32(len(s)), the prove pass fails to eliminate the bounds check on 64-bit architectures:
Activity
gabyhelp commentedon Sep 8, 2026
Related Issues
Related Code Changes
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
gopherbot commentedon Sep 8, 2026
Change https://go.dev/cl/829264 mentions this issue:
cmd/compile: record poset relations for integer conversions in prove passJunyangShao commentedon Sep 11, 2026
@golang/compiler
gopherbot commentedon Sep 25, 2026
Change https://go.dev/cl/838825 mentions this issue:
cmd/compile: propagate bitwise AND limits and slice/div/mod poset relationsgopherbot commentedon Sep 25, 2026
Change https://go.dev/cl/838826 mentions this issue:
cmd/compile: prove subslice bounds for constant-delta and negative-offset additions