Promote pointer function arguments and return values to Pmode.
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 21 Jul 2011 22:22:00 +0000 (22:22 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 21 Jul 2011 22:22:00 +0000 (15:22 -0700)
commit08a8923efc660d4f4cad7885771db91a305f32db
treeb67c2c0c84365350c42e9e68f6cd8fe87389df98
parent02614448c98bec25dacfe97635f05a04aa748676
Promote pointer function arguments and return values to Pmode.

2011-07-21  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.c (function_value_64): Always return pointers
in Pmode.
(ix86_promote_function_mode): New.
(TARGET_PROMOTE_FUNCTION_MODE): Likewise.

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