------- Comment #1 from pinskia at gcc dot gnu dot org  2008-09-14 02:01 -------
Fixed on the trunk by the new register allocator (IRA):
__Z6callfnP1AMS_FvvE:
LFB0:
        pushq   %rbp
LCFI0:
        testb   $1, %sil
        movq    %rsi, %r11
        movq    %rsp, %rbp
LCFI1:
        movq    %rsi, -16(%rbp)
        movq    %rdx, -8(%rbp)
        je      L3
        movq    (%rdi,%rdx), %rax
        movq    -1(%rsi,%rax), %r11
L3:
        addq    %rdx, %rdi
        leave
        jmp     *%r11


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|tree-optimization           |rtl-optimization
   GCC host triplet|x86_64-pc-gnu               |
 GCC target triplet|                            |x86_64-pc-gnu
           Keywords|                            |missed-optimization, ra
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


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

Reply via email to