]> Cypherpunks repositories - gostls13.git/commit
cmd/8g: fix code generation of int64(0) == int64(0).
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Thu, 7 Mar 2013 20:47:45 +0000 (21:47 +0100)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Thu, 7 Mar 2013 20:47:45 +0000 (21:47 +0100)
commit4c203172a2e70bf19b96ca603767378545172b6d
treeff92e98d68e6bd50bd66bab9236ef246c7040ac9
parent43ee80997a5d52360fad605f01b9753e4056bdc2
cmd/8g: fix code generation of int64(0) == int64(0).

The code would violate the contract of cmp64.

Fixes #5002.

R=rsc, golang-dev
CC=golang-dev
https://golang.org/cl/7593043
src/cmd/8g/cgen.c
test/fixedbugs/issue5002.go [new file with mode: 0644]