Re: PATCH: Use Pmode on x86_64 this parameter

2012-03-11 Thread Uros Bizjak
On Sun, Mar 11, 2012 at 2:11 AM, H.J. Lu hongjiu...@intel.com wrote:

 This patch replaces DImode with Pmode on x86_64 this parameter.  OK
 for trunk?

 2012-03-10  H.J. Lu  hongjiu...@intel.com

        * config/i386/i386.c (x86_this_parameter): Replace DImode with
        Pmode.

OK.

Thanks,
Uros.


PATCH: Use Pmode on x86_64 this parameter

2012-03-10 Thread H.J. Lu
Hi,

This patch replaces DImode with Pmode on x86_64 this parameter.  OK
for trunk?

Thanks.

H.J.
---
2012-03-10  H.J. Lu  hongjiu...@intel.com

* config/i386/i386.c (x86_this_parameter): Replace DImode with
Pmode.

diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index bc144a9..bfa3cdc 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -31971,7 +31978,7 @@ x86_this_parameter (tree function)
 parm_regs = x86_64_ms_abi_int_parameter_registers;
   else
 parm_regs = x86_64_int_parameter_registers;
-  return gen_rtx_REG (DImode, parm_regs[aggr]);
+  return gen_rtx_REG (Pmode, parm_regs[aggr]);
 }
 
   nregs = ix86_function_regparm (type, function);