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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
            Summary|[4.3/4.5/4.6/4.7            |[4.5/4.6/4.7 Regression]
                   |Regression] Missed          |Missed optimization
                   |optimization accessing      |accessing struct component
                   |struct component with       |with integer address
                   |integer address             |

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-27 
10:24:56 UTC ---
Well, works "fine" on x86_64:

foo:
.LFB0:
        .cfi_startproc
        movb    $-86, 2755
.L2:
        movb    2754, %al
        testb   %al, %al
        jns     .L2
        movl    $2752, %eax
        movb    $-69, 3(%rax)
.L3:
        movb    2754, %al
        testb   %al, %al
        jns     .L3
        ret

Reply via email to