[Bug target/50749] SH Target: Post-increment addressing used only for first memory access

oleg.endo@t-online.de gcc-bugzilla@gcc.gnu.org
Fri Dec 30 02:14:00 GMT 2011


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

--- Comment #10 from Oleg Endo <oleg.endo@t-online.de> 2011-12-30 02:14:00 UTC ---
(In reply to comment #9)
> (In reply to comment #8)
> > Specifying -fno-tree-forwprop doesn't seem to have any effect on these cases.
> 
> For that function, -fdump-tree-all shows that the tree loop ivopts
> optimization does it.  Try -fno-tree-forwprop -fno-ivopts.

This makes even worse code.
Anyway, I think this issue should be addressed by the auto_inc_dec pass.

If OK, I'd like to change it from target PR to middle-end PR.



More information about the Gcc-bugs mailing list