Pass pointers in word_mode instead of Pmode
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Mar 2012 15:03:12 +0000 (15:03 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Mar 2012 15:03:12 +0000 (15:03 +0000)
commitf8ae29a7c33480655803e45a8acc91afcfd8f92e
tree333c335dd9ac0095a53e274b1ad4537d2b0ce712
parent50cab70b48c46b556a4609193b5ed8306778c11b
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185057 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c