This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR target/63228: -m16 doesn't work if gcc is compiled for x32
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 11 Sep 2014 22:26:27 +0200
- Subject: Re: PATCH: PR target/63228: -m16 doesn't work if gcc is compiled for x32
- Authentication-results: sourceware.org; auth=none
- References: <20140911195216 dot GA27037 at intel dot com>
On Thu, Sep 11, 2014 at 9:52 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> ix86_option_override_internal turns off OPTION_MASK_ABI_X32 for -m64
> when TARGET_BI_ARCH == 2. But it fails to do so for -m16. This patch
> also turns off OPTION_MASK_ABI_X32 for -m16. OK for trunk and 4.9
> branch after testing on Linux/x86-64 with -mx32?
>
> Thanks.
>
> H.J.
> --
> 2014-09-11 H.J. Lu <hongjiu.lu@intel.com>
>
> PR target/63228
> * config/i386/i386.c (ix86_option_override_internal): Also turn
> off OPTION_MASK_ABI_X32 for -m16.
OK.
Thanks,
Uros.