projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efb743a
)
compiler: Permit an empty interface to be embedded multiple times.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Sat, 18 Feb 2012 00:43:39 +0000
(
00:43
+0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Sat, 18 Feb 2012 00:43:39 +0000
(
00:43
+0000)
From-SVN: r184363
gcc/go/gofrontend/types.cc
patch
|
blob
|
history
diff --git
a/gcc/go/gofrontend/types.cc
b/gcc/go/gofrontend/types.cc
index f8b6f1a3113f22048ffea8fdb2f0c458b2685f61..a2064bb6eeab262d612ad493a5d1d39488f20ab5 100644
(file)
--- a/
gcc/go/gofrontend/types.cc
+++ b/
gcc/go/gofrontend/types.cc
@@
-6471,7
+6471,7
@@
Interface_type::finalize_methods()
}
Named_type* nt = t->named_type();
- if (nt != NULL)
+ if (nt != NULL
&& it->parse_methods_ != NULL
)
{
std::vector<Named_type*>::const_iterator q;
for (q = seen.begin(); q != seen.end(); ++q)