Commit 7a8de70f by Ian Lance Taylor

Layout undefined type.

From-SVN: r168130
parent 093e6632
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment