Issue an error for ms_abi attribute with x32
authorH.J. Lu <hongjiu.lu@intel.com>
Sat, 27 Dec 2014 16:14:59 +0000 (16:14 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sat, 27 Dec 2014 16:14:59 +0000 (08:14 -0800)
commitc4575840086f29487a849aed0c680b2dcd51fc1f
tree738c3298e5c5ea10233b47b4f0b9954476c73da0
parent982213b5ffeccdee4cb755d55009cc30aabd6016
Issue an error for ms_abi attribute with x32

There is no counter part of x32 in MS ABI.   Issue an error when ms_abi
attribute is used with x32.

gcc/

PR target/64409
* config/i386/i386.c (ix86_function_type_abi): Issue an error
when ms_abi attribute is used with x32.

gcc/testsuite/

PR target/64409
* gcc.target/i386/pr64409.c: New test.

From-SVN: r219081
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr64409.c [new file with mode: 0644]