This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/36758] [4.3/4.4 Regression] address addition moved out of the loop
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jul 2008 21:52:00 -0000
- Subject: [Bug middle-end/36758] [4.3/4.4 Regression] address addition moved out of the loop
- References: <bug-36758-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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