diff mbox

Fix PR52349

Message ID alpine.LNX.2.00.1202231529110.18230@zhemvz.fhfr.qr
State New
Headers show

Commit Message

Richard Biener Feb. 23, 2012, 2:29 p.m. UTC
Approved in the PR, tested by Jakub, applied.

Richard.

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

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

Patch

Index: go-gcc.cc
===================================================================
--- go-gcc.cc	(revision 184506)
+++ go-gcc.cc	(working copy)
@@ -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,