This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/50448] [4.5/4.6/4.7 Regression] Missed optimization accessing struct component with integer address


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]