https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87014

--- Comment #1 from camper <theonetruecamper at gmx dot de> ---
Created attachment 44557
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44557&action=edit
[x32] use 64-bit mov to set return address in eh_return

compiles to:
        movl    handler(%rip), %eax
        movl    offset(%rip), %edx
        movl    %edx, %ecx
        movl    %eax, %eax
        movq    %rax, 8(%ebp,%ecx)
        movq    -16(%ebp), %rax
        movq    -8(%ebp), %rdx
        leal    8(%rbp,%rcx), %ecx
        movl    0(%ebp), %ebp
        movl    %ecx, %esp
        ret

Reply via email to