On Fri, Dec 15, 2017 at 10:38 AM, Eric Botcazou <ebotca...@adacore.com> wrote: > Hi, > > this PR was about the blow-up of the garbage collector on x86_64-w64-mingw32 > when more than 3 GB are allocated. The fix was to set HOST_BITS_PER_PTR to > the appropriate value (64) in config/i386/xm-mingw32.h. > > This means that the same issue can happen on other P64 hosts so the attached > patch replaces the fix by a more robust variant. And I'm proposing that it be > installed on all active branches (the original fix is not on the 6 branch). > > Tested on x86_64-w64-mingw32 (6 branch) and x86_64-suse-linux (mainline), OK?
Ok. Thanks, Richard. > > 2017-12-15 Eric Botcazou <ebotca...@adacore.com> > > PR target/66488 > * ggc-page.c (HOST_BITS_PER_PTR): Do not define here... > * hwint.h (HOST_BITS_PER_PTR): ...but here instead. > * config/i386/xm-mingw32.h (HOST_BITS_PER_PTR): Delete. > > -- > Eric Botcazou