combine: Check for paradoxical subreg.
authorRobin Dapp <rdapp@linux.ibm.com>
Tue, 8 Feb 2022 13:39:16 +0000 (14:39 +0100)
committerRobin Dapp <rdapp@linux.ibm.com>
Tue, 8 Feb 2022 14:28:53 +0000 (15:28 +0100)
commit38a177fa4c2fd1ce75581145b3b8f12592b4aacd
tree3bb7483c1c9cb41a01ddd8223759ccc133ef7999
parent8dbb60b8dfc642a81f1c41fde11767150e8f91a5
combine: Check for paradoxical subreg.

This adds a check for a paradoxical subreg in reg_subword_p ()
in order to prevent an ICE on s390 in try_combine () triggered
by the movqicc expander.

gcc/ChangeLog:

* combine.cc (reg_subword_p): Check for paradoxical subreg.
gcc/combine.cc