-
Committer:
Gustavo Niemeyer
-
Author(s):
Michael Hudson-Doyle
-
Date:
2013-11-13 13:30:59 UTC
-
mfrom:
(246.1.1 mgo)
-
Revision ID:
gustavo@niemeyer.net-20131113133059-gxzqegty2xoor066
bson: don't trust expression evaluation order
The evaluation order of
end := d.i - 4 + int(d.readInt32())
differs when compiled with gccgo vs the gc toolchain, and is
apparently unspecified according to the spec.