Commit 3762c343 by Richard Guenther Committed by Richard Biener

go-gcc.cc (Gcc_backend::placeholder_pointer_type): Use build_distinct_type_copy.

2012-02-23  Richard Guenther  <rguenther@suse.de>

	* go-gcc.cc (Gcc_backend::placeholder_pointer_type): Use
	build_distinct_type_copy.

From-SVN: r184507
parent 5ddfab6d
2012-02-23 Richard Guenther <rguenther@suse.de>
* go-gcc.cc (Gcc_backend::placeholder_pointer_type): Use
build_distinct_type_copy.
2012-02-17 Ian Lance Taylor <iant@google.com>
* Make-lang.in (go/import.o): Add dependency on $(GO_LEX_H).
......
......@@ -602,7 +602,7 @@ Btype*
Gcc_backend::placeholder_pointer_type(const std::string& name,
Location location, bool)
{
tree ret = build_variant_type_copy(ptr_type_node);
tree ret = build_distinct_type_copy(ptr_type_node);
if (!name.empty())
{
tree decl = build_decl(location.gcc_location(), TYPE_DECL,
......
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