]> Cypherpunks repositories - gostls13.git/commit
cmd/gc: fix &^ code generation bug
authorRuss Cox <rsc@golang.org>
Mon, 4 Feb 2013 05:21:44 +0000 (00:21 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 4 Feb 2013 05:21:44 +0000 (00:21 -0500)
commit399dcc75a882fcb3a7edbcb0b272ad4d12ee2555
treeaae179e98abd683820aa76939c87692d7b3c7927
parent94064548c66b76ae111c68e67729c3bd11ad3faf
cmd/gc: fix &^ code generation bug

Was not re-walking the new AND node, so that its ullman
count was wrong, so that the code generator attempted to
store values in registers across the call.

Fixes #4752.

R=ken2
CC=golang-dev
https://golang.org/cl/7288054
src/cmd/gc/walk.c
test/fixedbugs/issue4752.go [new file with mode: 0644]