Pass pointers in word_mode instead of Pmode
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 7 Mar 2012 15:03:12 +0000 (15:03 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 7 Mar 2012 15:03:12 +0000 (07:03 -0800)
commitcccff71a90a9d9492bd85dd86042662bb23c2967
tree333c335dd9ac0095a53e274b1ad4537d2b0ce712
parent6eddd7b4f35fd5e258260126de69e9c1e7e2617d
Pass pointers in word_mode instead of Pmode

2012-03-07  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.c (function_value_64): Return pointers in
word_mode instead of Pmode.
(ix86_promote_function_mode): Likewise.

From-SVN: r185057
gcc/ChangeLog
gcc/config/i386/i386.c