projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
093e663
)
Layout undefined type.
author
Ian Lance Taylor
<ian@gcc.gnu.org>
Tue, 21 Dec 2010 18:59:22 +0000
(18:59 +0000)
committer
Ian Lance Taylor
<ian@gcc.gnu.org>
Tue, 21 Dec 2010 18:59:22 +0000
(18:59 +0000)
From-SVN: r168130
gcc/go/gofrontend/types.cc
patch
|
blob
|
history
diff --git
a/gcc/go/gofrontend/types.cc
b/gcc/go/gofrontend/types.cc
index af541e8eb515558ac876807c70b59bb20528d4f7..fad9206fdf437e91c2781a5a516099409396ffd0 100644
(file)
--- a/
gcc/go/gofrontend/types.cc
+++ b/
gcc/go/gofrontend/types.cc
@@
-8061,6
+8061,7
@@
Forward_declaration_type::do_get_tree(Gogo* gogo)
tree id = no->get_id(gogo);
tree decl = build_decl(no->location(), TYPE_DECL, id, type_tree);
TYPE_NAME(type_tree) = decl;
+ layout_type(type_tree);
return type_tree;
}