Re: fix crash on 64-bit mingw-w64 hosted compiler using more than 4 gb of ram

2016-08-11 Thread Jakub Jelinek
On Thu, Aug 11, 2016 at 04:55:34PM +0200, Stanislaw Halik wrote: > On 2016-08-11 Thu 16:33, Kai Tietz wrote: > >Hello Stanislaw. > > > >patch is ok. Nevertheless there is a ChangeLog entry missing for it. > >It is mandatory to be provided for submissions to gcc. > > ChangeLog: > > PR

Re: fix crash on 64-bit mingw-w64 hosted compiler using more than 4 gb of ram

2016-08-11 Thread Jakub Jelinek
On Thu, Aug 11, 2016 at 11:31:49AM +0200, Stanislaw Halik wrote: > The host configuration across platforms wrongly assumes that > sizeof(long) == sizeof(intptr_t) which is incorrect on amd64-hosted compiler > hosting mingw-w64. > > Here's a patch fixing >

Re: fix crash on 64-bit mingw-w64 hosted compiler using more than 4 gb of ram

2016-08-11 Thread Stanislaw Halik
On 2016-08-11 Thu 16:33, Kai Tietz wrote: Hello Stanislaw. patch is ok. Nevertheless there is a ChangeLog entry missing for it. It is mandatory to be provided for submissions to gcc. ChangeLog: PR target/66488 * gcc/config/i386/xm-mingw32.h (HOST_BITS_PER_PTR): specify pointer size as

Re: fix crash on 64-bit mingw-w64 hosted compiler using more than 4 gb of ram

2016-08-11 Thread Kai Tietz
Hello Stanislaw. patch is ok. Nevertheless there is a ChangeLog entry missing for it. It is mandatory to be provided for submissions to gcc. Thanks, Kai 2016-08-11 11:31 GMT+02:00 Stanislaw Halik : > The host configuration across platforms wrongly assumes that > sizeof(long)

fix crash on 64-bit mingw-w64 hosted compiler using more than 4 gb of ram

2016-08-11 Thread Stanislaw Halik
The host configuration across platforms wrongly assumes that sizeof(long) == sizeof(intptr_t) which is incorrect on amd64-hosted compiler hosting mingw-w64. Here's a patch fixing cheers, sh diff --git a/gcc/config/i386/xm-mingw32.h