------- Comment #11 from ubizjak at gmail dot com  2009-10-01 20:51 -------
None of the testcases fail anymore with GCC: (GNU) 4.5.0 20091001
(experimental) [trunk revision 152374].

The testcase from #7 produces:

foo:
        pushl   %ebp
        movl    %esp, %ebp
        pushl   %ebx
        movl    %eax, %ecx
        movl    8(%ebp), %eax
        movl    $3, %edx
        movl    %edx, %ebx
        cltd
        idivl   %ebx
        movl    %edx, (%ecx)
        popl    %ebx
        leave
        ret


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9085

Reply via email to