Disallow MS ABI in x32 mode.
authorH.J. Lu <hongjiu.lu@intel.com>
Fri, 22 Jul 2011 16:04:02 +0000 (16:04 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 22 Jul 2011 16:04:02 +0000 (09:04 -0700)
commit3de69514c3f04c875510f9e3fbc2aeeccf80087c
tree84442df1d2fb6496750b81ecaf17b6160c110a8f
parent49f6f4f7e8aa947b360cd4e4574fc1becd494ce9
Disallow MS ABI in x32 mode.

gcc/

2011-07-22  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.c (ix86_option_override_internal): Disallow
MS ABI in x32 mode.
(ix86_init_builtins): Call ix86_init_builtins_va_builtins_abi
only for TARGET_LP64.
(ix86_handle_abi_attribute): Check TARGET_LP64 instead of
TARGET_64BIT.

gcc/testsuite/

2011-07-22  H.J. Lu  <hongjiu.lu@intel.com>

* gcc/testsuite/gcc.target/i386/avx-vzeroupper-16.c: Only run
on lp64 targets.
* gcc/testsuite/gcc.target/i386/avx-vzeroupper-17.c: Likewise.
* gcc/testsuite/gcc.target/i386/avx-vzeroupper-18.c: Likewise.
* gcc/testsuite/gcc.target/i386/pr43662.c: Likewise.
* gcc/testsuite/gcc.target/i386/pr43869.c: Likewise.

* gcc.target/x86_64/abi/callabi/callabi.exp: Check ilp32
instead of ia32.

From-SVN: r176634
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx-vzeroupper-16.c
gcc/testsuite/gcc.target/i386/avx-vzeroupper-17.c
gcc/testsuite/gcc.target/i386/avx-vzeroupper-18.c
gcc/testsuite/gcc.target/i386/pr43662.c
gcc/testsuite/gcc.target/i386/pr43869.c
gcc/testsuite/gcc.target/x86_64/abi/callabi/callabi.exp