Check ptr_mode and use Pmode in ix86_trampoline_init
[gcc.git] / gcc / ChangeLog
index 5a74c5f875bd0833183ab65d1072a041a68992a4..a3b135108213bbbb143d88269051e060a4199e97 100644 (file)
@@ -1,3 +1,8 @@
+2012-03-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386.c (ix86_trampoline_init): Use movl for 64bit if
+       ptr_mode == SImode.  Replace DImode with Pmode or ptr_mode.
+
 2012-03-11  H.J. Lu  <hongjiu.lu@intel.com>
 
        * config/i386/i386.c (x86_this_parameter): Replace DImode with