projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecfd6ce
)
compiler: Build import tables as needed for imported interfaces.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Thu, 3 May 2012 17:42:02 +0000
(17:42 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Thu, 3 May 2012 17:42:02 +0000
(17:42 +0000)
From-SVN: r187111
gcc/go/gofrontend/import.cc
patch
|
blob
|
history
diff --git
a/gcc/go/gofrontend/import.cc
b/gcc/go/gofrontend/import.cc
index 58b0355c6c6fc3ece54fbe4c56cca683d6e35005..b0d10085382ab9c628f74db59c38ac17601739de 100644
(file)
--- a/
gcc/go/gofrontend/import.cc
+++ b/
gcc/go/gofrontend/import.cc
@@
-669,6
+669,9
@@
Import::read_type()
// This type has not yet been imported.
ntype->clear_is_visible();
+ if (!type->is_undefined() && type->interface_type() != NULL)
+ this->gogo_->record_interface_type(type->interface_type());
+
type = ntype;
}
else if (no->is_type())