http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55142
--- Comment #23 from H.J. Lu <hjl.tools at gmail dot com> 2012-11-07 23:02:58 UTC --- Created attachment 28632 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28632 A complete testcase I applied i386 change at http://gcc.gnu.org/bugzilla/attachment.cgi?id=28591 to compile it: [hjl@gnu-tools-1 tmp]$ /export/build/gnu/gcc/release/usr/gcc-4.8.0/bin/gcc -mtune=generic -march=x86-64 -maddress-mode=long -mx32 -O2 -fPIC rtld.c -std=gnu99 -fgnu89-inline -S [hjl@gnu-tools-1 tmp]$ egrep ", -[0-9]*\(%rax" rtld.s movl %ecx, -1073743664(%rax) movl %ecx, -1073742592(%rax) movl %edx, -1073743664(%rax) movl %edx, -1073742592(%rax) [hjl@gnu-tools-1 tmp]$ All those stores should be zero-extended.