]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/39162 (Gcc doesn't warn __m256 when -mavx isn't used)
authorH.J. Lu <hongjiu.lu@intel.com>
Fri, 13 Feb 2009 14:34:00 +0000 (14:34 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Fri, 13 Feb 2009 14:34:00 +0000 (06:34 -0800)
commit53f648e2a41c001287f812cf2bfdff367c3c4a10
treeeb753e0a3b9428309f906cc65200bfdb06a71419
parentdf20009b99bc5938598de5397d291655190df2a6
re PR target/39162 (Gcc doesn't warn __m256 when -mavx isn't used)

gcc/

2009-02-13  H.J. Lu  <hongjiu.lu@intel.com>

PR target/39162
* config/i386/i386.c (type_natural_mode): Add a new argument.
Return the original mode and warn ABI change if vector size
is 32byte.
(function_arg_advance): Updated.
(function_arg): Likewise.
(ix86_function_value): Likewise.
(ix86_return_in_memory): Likewise.
(ix86_sol10_return_in_memory): Likewise.
(ix86_gimplify_va_arg): Likewise.
(function_arg_32): Don't warn ABX ABI change here.
(function_arg_64): Likewise.

gcc/testsuite/

2009-02-13  H.J. Lu  <hongjiu.lu@intel.com>

PR target/39162
* gcc.target/i386/pr39162.c: New.

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