Re: Go patch committed: Fix array dimension handling on 32-bit host

2015-12-02 Thread Richard Biener
On Wed, Dec 2, 2015 at 2:28 AM, Ian Lance Taylor wrote: > The Go frontend code that handled array dimensions when generating > reflection and mangling assumed that an array dimension would fit in > an unsigned long. That is of course not true when a 32-bit host is > cross-compiling to a 64-bit ta

Go patch committed: Fix array dimension handling on 32-bit host

2015-12-01 Thread Ian Lance Taylor
The Go frontend code that handled array dimensions when generating reflection and mangling assumed that an array dimension would fit in an unsigned long. That is of course not true when a 32-bit host is cross-compiling to a 64-bit target. This patch fixes the problem. This was reported as GCC PR