[Bug rtl-optimization/39837] [4.3/4.4/4.5 regression] unoptimal code generated

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Apr 21 16:49:00 GMT 2009



------- Comment #3 from pinskia at gcc dot gnu dot org  2009-04-21 16:49 -------
       mov     r5, r4
       add     r5, r5, #8
.L2:
       ldr     r2, [r4, #8]
       mov     r1, r5

Wait, r4+8 is the same as r5 here so loop invariant should have used it.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Target Milestone|---                         |4.3.4


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



More information about the Gcc-bugs mailing list