On Thu, May 14, 2015 at 07:54:02AM -0500, Segher Boessenkool wrote: > I cannot reproduce this with your testcase. Please post the *exact* > testcase (nothing snipped) and the command line you used?
Making the array volatile and using optimisation helped. Kaboom. It wants to reload pretty much everything. Looking at your code, it seems you use the ancient interfaces instead of TARGET_LEGITIMATE_ADDRESS_P, I don't think LRA works with that? Segher