This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Go patch committed: Fix PR 65755 on GCC 5 branch


On Tue, Apr 14, 2015 at 11:48 AM, Ian Lance Taylor <iant@golang.org> wrote:
> This patch to the GCC 5 branch fixes PR 65755.  This is a conservative
> patch for the branch.  I will shortly apply a more complete, less
> conservative, patch to trunk.  This patch simply adds the receiver
> type when producing the pkgpath or the reflection string for a type
> defined within a method.  It also emits the pkgpath in the reflection
> string even when not using the -fgo-pkgpath option.  For this patch
> bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.

This is the patch to fix the same problem on mainline.  This patch
changes the libraries to consistently use the type reflection string
to determine whether two types are the same.  This simplifies the code
and permits us to change the PkgPath to be consistently the same as
the gc compiler.  Also put the receiver type in the type reflection
string, as for the GCC 5 branch patch.  Bootstrapped and ran Go
testsuite on x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

Attachment: foo.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]