This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/50749] SH Target: Post-increment addressing used only for first memory access
- From: "oleg dot endo at t-online dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 30 Dec 2011 02:14:00 +0000
- Subject: [Bug target/50749] SH Target: Post-increment addressing used only for first memory access
- Auto-submitted: auto-generated
- References: <bug-50749-4@http.gcc.gnu.org/bugzilla/>
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.