PR go/65755
commitf9bc58592837e972012a6a852e3f8df6f5fa9d00
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Apr 2015 18:19:44 +0000 (17 18:19 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Apr 2015 18:19:44 +0000 (17 18:19 +0000)
treee4fe10e347023d58baaa566c58cf2424111004f8
parentfce667e3f95a05a75c759754b6786d187f71bd43
PR go/65755
compiler, runtime, reflect: Use reflection string for type comparisons.

Change the runtime and reflect libraries to always use only
the type reflection string to determine whether two types are
equal.  It previously used the PkgPath and Name values for a
type name, but that required a PkgPath that did not match the
gc compiler.

Change the compiler to use the same PkgPath value as the gc
compiler in all cases.

Change the compiler to put the receiver type in the reflection
string for a type defined inside a method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222194 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/types.cc
libgo/go/reflect/type.go
libgo/runtime/go-typedesc-equal.c