On 12/07/2016 04:21 PM, Eric Botcazou wrote:
Presumably the MEM isn't a valid memory address, but it's allowed
through due to the use of an "X" constraint?
Yes (that was supposed to be more or less clear given the description :-).
ISTM that LRA has to be prepared to handle an arbitrary RTX, so punting
seems appropriate.
My opinion too. Note that Bernd E. has another solution though.
I wasn't ever able to get comfortable with the change in behavior that
Bernd E's patch introduced. Namely that X no longer meant "anything",
which is how it's been documented for eons.
Jeff