re PR go/89227 (gotools test cmd/go fails with link error "call lacks nop, can't...
authorIan Lance Taylor <iant@golang.org>
Thu, 7 Mar 2019 00:53:41 +0000 (00:53 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 7 Mar 2019 00:53:41 +0000 (00:53 +0000)
commitc0017f91c4895e8cc625614454d0e2571c077770
treedc61aea344aa137c09ed7d6281764f2844c0f4a1
parent295bae04b2140479029ed5f47a78954cc5995122
re PR go/89227 (gotools test cmd/go fails with link error "call lacks nop, can't restore toc; recompile with -fPIC")

PR go/89227
* go-gcc.cc (Gcc_backend::function): Set TREE_PUBLIC for an
only-inline function.

From-SVN: r269449
gcc/go/ChangeLog
gcc/go/go-gcc.cc