]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: do not inline functions marked cgo_unsafe_args
authorDavid Lazar <lazard@golang.org>
Wed, 30 Nov 2016 22:09:07 +0000 (17:09 -0500)
committerDavid Lazar <lazard@golang.org>
Thu, 1 Dec 2016 18:59:59 +0000 (18:59 +0000)
commit9fbfe7cca00a456541e9aa2b2cc1251d777f325b
tree542d7d693477d70031d2492c3663bc811117dda5
parent3c2e4ed8d31e65556e936bf394a47e644605d23d
cmd/compile: do not inline functions marked cgo_unsafe_args

Now the net tests pass with -gcflags '-l=4'.

Fixes #18125.

Change-Id: I4e3a46eb0cb3a93b203e74f5bc99c5822331f535
Reviewed-on: https://go-review.googlesource.com/33722
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/gc/inl.go