re PR go/81451 (missing futex check - libgo/runtime/thread-linux.c:12:0 futex.h:13...
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 18 Jul 2017 23:14:29 +0000 (23:14 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 18 Jul 2017 23:14:29 +0000 (23:14 +0000)
commit9e45ca5f83954a340cc78c2f86b7b3294188047f
tree127c7047f2588027e80a69215a4ce7e2adb7b509
parentab86687fee4024af20d852e26fbb743de05d0efe
re PR go/81451 (missing futex check - libgo/runtime/thread-linux.c:12:0 futex.h:13:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘long’)

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

From-SVN: r250326
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]