]> gcc.gnu.org Git - gcc.git/commit
compiler: implement Go 1 unsafe.Pointer conversion rules
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 30 Mar 2015 17:32:06 +0000 (17:32 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 30 Mar 2015 17:32:06 +0000 (17:32 +0000)
commitc40b69ae69f5e510704ee0b4a1a293057a6f4cd2
treee319dd01e8bab96b8da54527fdd51675252ba7b4
parent233b9db6fb3aef2ec39fd66c54ac064a7737732c
compiler: implement Go 1 unsafe.Pointer conversion rules

Any type whose underlying type is uintptr can be converted
to unsafe.Pointer, and vice versa.

Fixes golang/go#10284.

From-SVN: r221774
gcc/go/gofrontend/types.cc
This page took 0.065634 seconds and 5 git commands to generate.