libgo patch committed: Fix reflect.valueInterface

Ian Lance Taylor iant@google.com
Mon Nov 19 05:34:00 GMT 2012


The gccgo frontend uses a slightly different representation for
interface values than the gc compiler: the gccgo frontend stores pointer
values directly, and all other values indirectly.  That requires some
changes in the reflect package.  There was a bug in those changes, which
showed up in that in some cases different reflect.Value values would
incorrectly point to the same underlying memory.  This patch fixes the
bug.  Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.
Committed to mainline and 4.7 branch.

Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1606 bytes
Desc: patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20121119/f919a435/attachment.bin>


More information about the Gcc-patches mailing list