This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r248934 - in /trunk/gcc/go/gofrontend: MERGE ex...
- From: ian at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 06 Jun 2017 20:57:04 -0000
- Subject: r248934 - in /trunk/gcc/go/gofrontend: MERGE ex...
Author: ian
Date: Tue Jun 6 20:57:03 2017
New Revision: 248934
URL: https://gcc.gnu.org/viewcvs?rev=248934&root=gcc&view=rev
Log:
compiler: typing fixes for Interface_mtable_expression
Interface_mtable_expression::do_type computes a type that incorporates
Go type descriptors for the interface methods, whereas in order to
have strict type agreement with the mtable data, the interface method
fields need to be C function ptrs. Change the type recipe accordingly,
and then update Interface_mtable_expression::do_get_backend to compute
a revised backend type that uses the correct fcn types.
Reviewed-on: https://go-review.googlesource.com/44750
Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/gcc/go/gofrontend/expressions.cc
trunk/gcc/go/gofrontend/expressions.h