https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81451
--- Comment #4 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> --- Author: ian Date: Tue Jul 18 23:14:29 2017 New Revision: 250326 URL: https://gcc.gnu.org/viewcvs?rev=250326&root=gcc&view=rev Log: PR go/81451 runtime: inline runtime_osinit We had two identical copies of runtime_osinit. They set runtime_ncpu, a variable that is no longer used. Removing that leaves us with two lines. Inline those two lines in the two places the function was called. This fixes GCC PR 81451. Reviewed-on: https://go-review.googlesource.com/48862 Removed: trunk/libgo/runtime/thread-linux.c trunk/libgo/runtime/thread-sema.c Modified: trunk/gcc/go/gofrontend/MERGE trunk/libgo/Makefile.am trunk/libgo/Makefile.in trunk/libgo/go/runtime/stubs.go trunk/libgo/runtime/go-libmain.c trunk/libgo/runtime/go-main.c trunk/libgo/runtime/proc.c trunk/libgo/runtime/runtime.h