Allow -mincoming-stack-boundary=3 with -mno-sse
authorH.J. Lu <hongjiu.lu@intel.com>
Mon, 6 Jul 2015 11:50:47 +0000 (11:50 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 6 Jul 2015 11:50:47 +0000 (04:50 -0700)
commitec1590f2571ecf093de855ed2c9c1383320063a1
treeea60216ac576d7157e4692639d99d39d9a125347
parent09e9c1e08597728f6fe052f033a9cf6c57d7562f
Allow -mincoming-stack-boundary=3 with -mno-sse

Similar to -mpreferred-stack-boundary=3, -mincoming-stack-boundary=3 is
allowed with -mno-sse in 64-bit mode.

gcc/

PR target/53383
* config/i386/i386.c (ix86_option_override_internal): Allow
-mincoming-stack-boundary=3 for 64-bit if SSE is disabled.

gcc/testsuite/

PR target/53383
* gcc.target/i386/pr53383-1.c: New file.
* gcc.target/i386/pr53383-2.c: Likewise.
* gcc.target/i386/pr53383-3.c: Likewise.

From-SVN: r225452
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr53383-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr53383-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr53383-3.c [new file with mode: 0644]