diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-08-23 21:04:40 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2013-08-23 21:04:40 +0000 |
commit | 4500f676e138a5ea3337ebd47745d8b49ba775b5 (patch) | |
tree | ad0d91464e75c09a960cd3be16de2f242062c4d4 /gcc/tree.c | |
parent | 009e53539dc7e6d0bf5c7084a6c8cae25b4f4c68 (diff) | |
download | gcc-4500f676e138a5ea3337ebd47745d8b49ba775b5.zip gcc-4500f676e138a5ea3337ebd47745d8b49ba775b5.tar.gz gcc-4500f676e138a5ea3337ebd47745d8b49ba775b5.tar.bz2 |
compiler: don't export embedded builtins.
The panic in test/fixedbugs/bug461.go was caused by the fact that
reflect expects unexported fields in a struct to have a valid
package path. If a struct field is an embedded built-in type, it is
now given the package name of the currently compiling package, so it
remains unexported for purposes of reflect.
Fixed Issue 25.
From-SVN: r201951
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions