This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Ada/x32: PR ada/80626: Correct Memory_Size
- From: Arnaud Charlet <charlet at adacore dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Uros Bizjak <ubizjak at gmail dot com>, Eric Botcazou <ebotcazou at adacore dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 10 May 2017 19:20:22 +0200
- Subject: Re: [PATCH] Ada/x32: PR ada/80626: Correct Memory_Size
- Authentication-results: sourceware.org; auth=none
- References: <CAMe9rOo2YHzPcENBotV+XYVBcBK+JL-gN2x78eKmsiUV+O+jbQ@mail.gmail.com>
> Here is the patch:
>
> X32 uses 64 as word size instead of 32. This must not affect the
> Address type definition which is based on Memory_Size.
>
> PR ada/80626
> * system-linux-x86.ads (Memory_Size): Use Long_Integer'Size
> instead of Word_Size.
>
> Tested on x86-64 with -m64/-m32/-mx32. OK for trunk and
> gcc-7-branch?
That's OK.