[Bug target/19201] [m68k] Inefficient code for array accesses (from old PROBLEMS)
mikpe at it dot uu.se
gcc-bugzilla@gcc.gnu.org
Sat Feb 26 12:33:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19201
Mikael Pettersson <mikpe at it dot uu.se> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpe at it dot uu.se
--- Comment #14 from Mikael Pettersson <mikpe at it dot uu.se> 2011-02-26 11:35:50 UTC ---
(In reply to comment #13)
> Also fine, not closed. Great to see that you pay enough attention to stop the
> reporter from closing his own PRs. I wish you would be just as fast with
> actually doing something about them. It is not even clear whether these
> problems still exist!
The missed optimization still occurs with gcc-4.6, which generates:
f:
move.l 4(%sp),%a0
move.l (%a0),%a1
move.l 4(%a0),%d0
clr.b (%a1,%d0.l)
rts
.size f, .-f
.ident "GCC: (GNU) 4.6.0 20110219 (experimental)"
I'll try Kazu's patch in my next 4.4 bootstrap/regtest.
More information about the Gcc-bugs
mailing list