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

ian@gcc.gnu.org ian@gcc.gnu.org
Mon Aug 22 21:30:00 GMT 2016


Author: ian
Date: Mon Aug 22 21:30:49 2016
New Revision: 239675

URL: https://gcc.gnu.org/viewcvs?rev=239675&root=gcc&view=rev
Log:
    compiler: don't permit P.M if P is a pointer type
    
    When lowering method expressions of the form "P.M" where
    P is a pointer type (e.g. "type P *T") make sure we examine
    the method set of P and not T during method lookup.
    
    Fixes golang/go#15722.
    
    Reviewed-on: https://go-review.googlesource.com/24843

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/gcc/go/gofrontend/expressions.cc



More information about the Gcc-cvs mailing list