On Mon, Sep 26, 2011 at 7:28 PM, Jiangning Liu <jiangning....@arm.com> wrote: > > Sorry, for this bug, I don’t see your valuable comments previously in either > bug zilla and the [RFC] I sent out long time ago in gcc mail list. What I see > is a bunch of people agreed this problem should be fixed in middle end.
The only person I see that agrees this problem should be fixed in the middle-end is Richard S. Everyone else seems like is saying it should be fixed in the back-end. I mentioned in the PowerPC related bug (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30282#c1 and it was mentioned also by Jim Wilson in that bug report). Richard Guenther and Jeff Law both agree with me too. The PowerPC patch is simple to fix the bug there is simple. The ARM patch as suggested by Jim Wilson in that bug report seems like the correct way forward. Think of it this way. What the IR says is there is no barrier between those moves. You either have an implicit barrier (which is what you are proposing) or you have it explicitly. I think we all rather have more things explicit rather than implicit in the IR. And that has been the overall feeling for a few years now. Thanks, Andrew Pinski