]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.1] cmd/gc: avoid passing unevaluated constant expressions to...
authorAndrew Gerrand <adg@golang.org>
Fri, 26 Jul 2013 00:04:32 +0000 (10:04 +1000)
committerRuss Cox <rsc@golang.org>
Fri, 26 Jul 2013 00:04:32 +0000 (10:04 +1000)
commit89020aa72cbdff82ab35af759246c85c26462dfe
tree239d1ce754401f9ed54b12c6817dc6ce5d298363
parentb5245b9c77d5320afd4ab22194c577a8e02b5fc4
[release-branch.go1.1] cmd/gc: avoid passing unevaluated constant expressions to backends.

««« CL 11107044 / 5baf6060648e
cmd/gc: avoid passing unevaluated constant expressions to backends.

Backends do not exactly expect receiving binary operators with
constant operands or use workarounds to move them to
register/stack in order to handle them.

Fixes #5841.

R=golang-dev, daniel.morsing, rsc
CC=golang-dev
https://golang.org/cl/11107044

»»»

Update #5928

R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/11879044
src/cmd/gc/walk.c
test/fixedbugs/issue5841.go [new file with mode: 0644]