r226448 - in /trunk/gcc/go/gofrontend: MERGE go...

ian@gcc.gnu.org ian@gcc.gnu.org
Fri Jul 31 17:52:00 GMT 2015


Author: ian
Date: Fri Jul 31 17:52:38 2015
New Revision: 226448

URL: https://gcc.gnu.org/viewcvs?rev=226448&root=gcc&view=rev
Log:
    compiler: Don't allow builtin function values.
    
    According to the spec, http://golang.org/ref/spec#Built-in_functions:
    "built-in functions do not have standard Go types, so they can only
    appear in call expressions; they cannot be used as function values."
    
    Fixes golang/go#11570.
    
    Reviewed-on: https://go-review.googlesource.com/12543

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



More information about the Gcc-cvs mailing list