http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47383
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ubizjak at gmail dot com --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-20 23:07:32 UTC --- For x32, ptr_mode is SImode and Pmode is DImode. When using base + index addressing, base needs to zero-extend to Pmode and index should be sign-extend to DImode. GCC zero extends index to DImode.