------- Comment #3 from ian at airs dot com 2005-11-01 16:09 ------- You've managed to change the code so that we still have two registers, but now they have different values. I agree that there are probably going to be times when it is good to have two different registers. But when they always have the same value, as they do in my original test case, shouldn't something clean that up? If so, what?
And do you still get two registers in your test case if you change (*p1)[d - 1] to (*p1)[d]? And if you do get two registers, do they have the same value or not? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24609