diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-07-31 17:52:38 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-07-31 17:52:38 +0000 |
commit | 2e2fc3bd51b507987542acb13e6aa42cf3a94f68 (patch) | |
tree | 0ae30aae68ac2ad7743476883cba3bddde373e20 /gcc/tree-vect-loop.c | |
parent | d459fde28f3d37e03d87b221b504a525ddb58665 (diff) | |
download | gcc-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-vect-loop.c')
0 files changed, 0 insertions, 0 deletions