Commit 47b64005 authored by Kai Backman's avatar Kai Backman

arm: fix build by disabling list copying optimization for 5g.

R=rsc
CC=golang-dev
https://golang.org/cl/1697053
parent 61fb9ccc
......@@ -115,7 +115,9 @@ walkrange(Node *n)
v2 = n->list->next->n;
hv2 = N;
if(v2 == N && t->etype == TARRAY) {
// TODO(kaib): re-enable this optimization on arm once we are on par with 6g/8g
// see http://code.google.com/p/go/issues/detail?id=943
if(v2 == N && t->etype == TARRAY && thechar != '5') {
// will have just one reference to argument.
// no need to make a potentially expensive copy.
ha = a;
......
......@@ -52,9 +52,9 @@ FAIL
Hello World!
=========== ken/cplx0.go
(+1.066132e-308+1.313301e-308i)
(+1.066132e-308+1.313303e-308i)
(+1.066132e-308+1.066132e-308i)
(+1.066132e-308+1.313301e-308i)
(+1.066132e-308+1.313303e-308i)
(+1.066132e-308+1.066132e-308i)
=========== ken/cplx3.go
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment