]> git.ipfire.org Git - thirdparty/gcc.git/commit
s390: Fix AQ and AR constraints
authorStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
Fri, 13 Sep 2024 13:05:33 +0000 (15:05 +0200)
committerStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>
Fri, 13 Sep 2024 13:05:33 +0000 (15:05 +0200)
commit1a71ff3b89aadc7fa0af0bca269d74bb23c1a957
tree96bc7b966ac08a5af39fbe19ac1b3dc5da2970ab
parent5938e0681c3907b2771ce6717988416b0ddd2f54
s390: Fix AQ and AR constraints

Ensure for AQ and AR constraints that the resulting displacement after
adding any positive offset less than the size of the object being
referenced is still valid.

gcc/ChangeLog:

* config/s390/s390.cc (s390_mem_constraint): Check displacement
for AQ and AR constraints.
gcc/config/s390/s390.cc