aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2015-07-31 17:52:38 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2015-07-31 17:52:38 +0000
commit2e2fc3bd51b507987542acb13e6aa42cf3a94f68 (patch)
tree0ae30aae68ac2ad7743476883cba3bddde373e20 /gcc/tree.c
parentd459fde28f3d37e03d87b221b504a525ddb58665 (diff)
downloadgcc-2e2fc3bd51b507987542acb13e6aa42cf3a94f68.zip
gcc-2e2fc3bd51b507987542acb13e6aa42cf3a94f68.tar.gz
gcc-2e2fc3bd51b507987542acb13e6aa42cf3a94f68.tar.bz2
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 From-SVN: r226448
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions