]> Cypherpunks repositories - gostls13.git/commit
cmd/6g, cmd/8g: skip CONVNOP nodes in bgen.
authorRémy Oudompheng <oudomphe@phare.normalesup.org>
Thu, 20 Mar 2014 21:22:37 +0000 (22:22 +0100)
committerRémy Oudompheng <oudomphe@phare.normalesup.org>
Thu, 20 Mar 2014 21:22:37 +0000 (22:22 +0100)
commit0285d2b96b4b4d96281a23b9f938aed4de9146c3
treef9766b14cd65aac54b0a1268cd2a4a8431512477
parentea7d801130636601bf0fb0d9c15e1f19dff8805d
cmd/6g, cmd/8g: skip CONVNOP nodes in bgen.

Revision 3ae4607a43ff introduced CONVNOP layers
to fix type checking issues arising from comparisons.
The added complexity made 8g run out of registers
when compiling an equality function in go.net/ipv6.

A similar issue occurred in test/sizeof.go on
amd64p32 with 6g.

Fixes #7405.

LGTM=khr
R=rsc, dave, iant, khr
CC=golang-codereviews
https://golang.org/cl/78100044
src/cmd/6g/cgen.c
src/cmd/8g/cgen.c
test/fixedbugs/issue7405.go [new file with mode: 0644]