Join GitHub today
cmd/compile: -race instrumentation leads to different behaviour due to 16 to 32-bit expansion #21963
What version of Go are you using (
Thanks for the detailed bug report.
I can reproduce the problem. Mostly to record this for myself, do:
Near the top of the listing there is:
An unsigned 16-bit load followed by a signed multiply, no extension between.
I have no idea why -race is relevant.