------- Comment #7 from amylaar at gcc dot gnu dot org 2008-12-10 05:40 ------- (In reply to comment #6) > This is most likely a duplicate of bug 31849. IV-opts does not understand at > all auto-increment/decrement.
I see little in common with the original subject of PR31849 (that was primarily about hoisting out a constant load), but there is some similarity with the code from comment 7 , and the patch from comment #25 appears salient, although bitrotted. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38440