r275227 - in /trunk: gcc/go/gofrontend/MERGE gc...
ian@gcc.gnu.org
ian@gcc.gnu.org
Fri Aug 30 21:49:00 GMT 2019
Author: ian
Date: Fri Aug 30 21:49:49 2019
New Revision: 275227
URL: https://gcc.gnu.org/viewcvs?rev=275227&root=gcc&view=rev
Log:
compile, runtime: permit anonymous and empty fields in C header
Permit putting structs with anonymous and empty fields in the C header
file runtime.inc that is used to build the C runtime code. This is
required for upcoming 1.13 support, as the m struct has picked up an
anonymous field.
Doing this lets the C header contain all the type descriptor structs,
so start using those in the C code. This cuts the number of copies of
type descriptor definitions from 3 to 2.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/192343
Removed:
trunk/libgo/runtime/go-type.h
Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/gcc/go/gofrontend/gogo.cc
trunk/gcc/go/gofrontend/types.cc
trunk/libgo/go/reflect/makefunc_ffi_c.c
trunk/libgo/mkruntimeinc.sh
trunk/libgo/runtime/go-construct-map.c
trunk/libgo/runtime/go-fieldtrack.c
trunk/libgo/runtime/go-reflect-call.c
trunk/libgo/runtime/go-unsafe-pointer.c
trunk/libgo/runtime/print.c
trunk/libgo/runtime/proc.c
trunk/libgo/runtime/runtime.h
More information about the Gcc-cvs
mailing list