r268923 - in /trunk: gcc/go/gofrontend/MERGE gc...
ian@gcc.gnu.org
ian@gcc.gnu.org
Fri Feb 15 01:57:00 GMT 2019
Author: ian
Date: Fri Feb 15 01:57:51 2019
New Revision: 268923
URL: https://gcc.gnu.org/viewcvs?rev=268923&root=gcc&view=rev
Log:
compiler, runtime: harmonize types referenced by both C and Go
Compiling with LTO revealed a number of cases in the runtime and
standard library where C and Go disagreed about the type of an object or
function (or where Go and code generated by the compiler disagreed). In
all cases the underlying representation was the same (e.g., uintptr vs.
void*), so this wasn't causing actual problems, but it did result in a
number of annoying warnings when compiling with LTO.
Reviewed-on: https://go-review.googlesource.com/c/160700
Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/gcc/go/gofrontend/expressions.cc
trunk/gcc/go/gofrontend/gogo.cc
trunk/gcc/go/gofrontend/runtime.cc
trunk/gcc/go/gofrontend/runtime.def
trunk/gcc/go/gofrontend/wb.cc
trunk/libgo/go/runtime/mgc.go
trunk/libgo/go/runtime/netpoll.go
trunk/libgo/go/runtime/proc.go
trunk/libgo/go/runtime/stubs.go
trunk/libgo/go/syscall/syscall_unix.go
trunk/libgo/go/syscall/wait.c
trunk/libgo/runtime/go-caller.c
trunk/libgo/runtime/go-callers.c
trunk/libgo/runtime/go-libmain.c
trunk/libgo/runtime/go-main.c
trunk/libgo/runtime/go-reflect-call.c
trunk/libgo/runtime/go-varargs.c
trunk/libgo/runtime/panic.c
trunk/libgo/runtime/runtime.h
trunk/libgo/runtime/stack.c
More information about the Gcc-cvs
mailing list