]> gcc.gnu.org Git - gcc.git/commit
runtime: recreate function called by cgo -gccgo
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 1 Nov 2016 14:07:43 +0000 (14:07 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 1 Nov 2016 14:07:43 +0000 (14:07 +0000)
commit69907c4ad5807b54920b25dac6ee21adddced8eb
treebdab38bdf1e983238d837d86f35cbba75f56a769
parentf94a3edc6e4245f10e245d162737b889788f4f12
runtime: recreate function called by cgo -gccgo

    When using cgo -gccgo calls to C.GoString, C.GoStringN, and C.GoBytes
    are turned into calls to __go_byte_array_to_string and
    __go_string_to_byte_array.  Those functions were removed when the string
    code was copied from Go 1.7, but we still need them for cgo.  While cgo
    should be updated, old versions will exist for some time.

    Reviewed-on: https://go-review.googlesource.com/32474

From-SVN: r241743
gcc/go/gofrontend/MERGE
libgo/go/runtime/string.go
This page took 0.054137 seconds and 5 git commands to generate.