[Bug go/89227] gotools test cmd/go fails with link error "call lacks nop, can't restore toc; recompile with -fPIC"
ian at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 7 00:54:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89227
--- Comment #4 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Thu Mar 7 00:53:41 2019
New Revision: 269449
URL: https://gcc.gnu.org/viewcvs?rev=269449&root=gcc&view=rev
Log:
PR go/89227
* go-gcc.cc (Gcc_backend::function): Set TREE_PUBLIC for an
only-inline function.
Modified:
trunk/gcc/go/ChangeLog
trunk/gcc/go/go-gcc.cc
More information about the Gcc-bugs
mailing list