r248934 - in /trunk/gcc/go/gofrontend: MERGE ex...

ian@gcc.gnu.org ian@gcc.gnu.org
Tue Jun 6 20:57:00 GMT 2017


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



More information about the Gcc-cvs mailing list