[Bug middle-end/36758] [4.3/4.4 Regression] address addition moved out of the loop
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jul 7 21:52:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list