------- Comment #8 from rakdver at gcc dot gnu dot org 2008-01-03 21:23 ------- (In reply to comment #7) > The final tree IL looks good, so I suspect the RTL loop optimizer gets this > wrong. >
> add r1, sp, #56 // upper loop-bound; should have been #12 > I actually wanted to say 'should have been #24' :-) This insn is actually correct, r1 = &outbuf + 24. The missing increment of r4 seems to be the problem. Post-increment is created for r4, but it disappears in the combine pass. Does not seem to be loop optimizer related. -- rakdver at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2008-01-03 21:23:36 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34628