http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50749
--- Comment #10 from Oleg Endo <oleg.e...@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.