PR go/81451
commita0b34ba375e0a66530c886c44938679fb11ed0c0
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Jul 2017 23:14:29 +0000 (18 23:14 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Jul 2017 23:14:29 +0000 (18 23:14 +0000)
tree127c7047f2588027e80a69215a4ce7e2adb7b509
parent85855de7c24aef222d44e3a9da5f0ded0059175b
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250326 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/Makefile.am
libgo/Makefile.in
libgo/go/runtime/stubs.go
libgo/runtime/go-libmain.c
libgo/runtime/go-main.c
libgo/runtime/proc.c
libgo/runtime/runtime.h
libgo/runtime/thread-linux.c [deleted file]
libgo/runtime/thread-sema.c [deleted file]