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/36758] [4.3/4.4 Regression] address addition moved out of the loop



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-07-07 21:51 -------
(In reply to comment #1)
> 4.1.1 actually did the right thing.
That is it produced:
.L.f1:
        mflr 0
        std 0,16(1)
        stdu 1,-128(1)
        .p2align 4,,15
.L3:
        addi 3,1,112
        bl f0
        nop
        cmpdi 7,3,0
        bne 7,.L3
        addi 1,1,128
        ld 0,16(1)
        mtlr 0
        blr
        .long 0
        .byte 0,0,0,1,128,0,0,0
        .size   f1,.-.L.f1
        .ident  "GCC: (GNU) 4.1.1"


-- 


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


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