Andrew Pinski wrote: > > This looks related to PR 80266 in that one was crashing due to the > store pair instruction like what was reported.
Yes it's the same bug. I've now finally reproduced it, it seems many stack addresses in Ada are SImode which is incorrect (and ultimately can trigger the LDP assertion like it did with -mcmodel=large). I don't see any checks in the backend that enforce Pmode for addresses, for example aarch64_classify_address doesn't reject SImode addresses... Wilco