diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-07-23 19:57:22 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-07-23 19:57:22 +0000 |
commit | 0f2be732d964ef89eb268114e4dd8d00130aa29b (patch) | |
tree | 920912335e30f142ac01bae36115e40490d5f0bf /gcc/tree-ssa-threadupdate.c | |
parent | 20886e7134bbf98b5cd087e296b581f8e1a42d95 (diff) | |
download | gcc-0f2be732d964ef89eb268114e4dd8d00130aa29b.zip gcc-0f2be732d964ef89eb268114e4dd8d00130aa29b.tar.gz gcc-0f2be732d964ef89eb268114e4dd8d00130aa29b.tar.bz2 |
compiler: Make empty interface types for vars during parse time.
When making the type for a variable with an empty interface type,
the parser makes an interface type with a NULL method set and relies
on later passes to correct this.
For sink variables, which are ignored in later passes, the interface
method table is never finalized and a compile time assertion is issued.
Instead, the initial type generated by the parser should be the empty
interface type.
Fixes golang/go#11579.
Reviewed-on: https://go-review.googlesource.com/12049
From-SVN: r226123
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
0 files changed, 0 insertions, 0 deletions