http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49865
Vladimir Makarov <vmakarov at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vmakarov at redhat dot com --- Comment #5 from Vladimir Makarov <vmakarov at redhat dot com> 2011-12-13 19:38:16 UTC --- I can not reproduce it on the current trunk (rev. 182263). The recent ira patches might fix it. The code generated on the current trunk is pushl %ebp .cfi_def_cfa_offset 8 .cfi_offset 5, -8 movl %esp, %ebp .cfi_def_cfa_register 5 pushl %edi .cfi_offset 7, -12 movl $1024, %ecx xorl %eax, %eax movl 8(%ebp), %edi rep stosl movl 8(%ebp), %eax movl $0, 4096(%eax) popl %edi .cfi_restore 7 popl %ebp .cfi_restore 5 .cfi_def_cfa 4, 4 ret