2012-02-23 Richard Guenther <rguenther@suse.de>
* go-gcc.cc (Gcc_backend::placeholder_pointer_type): Use
build_distinct_type_copy.
From-SVN: r184507
+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).
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,