------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-02 
16:35 -------
With unsigned instead of signed, I get the following code with the mainline:
        movl    4(%esp), %eax
        leal    (%eax,%eax,2), %edx
        sall    $4, %edx
        subl    %eax, %edx
        movl    $-858993459, %eax
        mull    %edx
        shrl    $5, %edx
        movl    %edx, %eax
        ret

Is this okay, If so then there is no bug here really.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |middle-end


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

Reply via email to