[PATCH][s390]: Fix the usage of store_bit_field in the backend.
authorTamar Christina <tamar.christina@arm.com>
Sat, 9 Jul 2022 01:54:44 +0000 (21:54 -0400)
committerJeff Law <jeffreyalaw@gmail.com>
Sat, 9 Jul 2022 01:56:25 +0000 (21:56 -0400)
commit84ff566c63cde517c7d963a554e338531fb059f1
tree8d5643c27b8b20e16a09855636d0a5073a521c56
parent71e3daa31cfa35ee58e5899cb00767be92227fd2
[PATCH][s390]: Fix the usage of store_bit_field in the backend.

Hi All,

I seem to have broken the s390 bootstrap because I added a new parameter to the
store_bit_field function to indicate whether the value the field of is being set
is currently undefined.

If it's undefined we use a subreg instead.  In this case the value of false
restores the old behavior.

Ok for master?

Thanks,
Tamar

gcc/ChangeLog:

* config/s390/s390.cc (s390_expand_atomic): Pass false to store_bit_field to
indicate that the value is not undefined.
gcc/config/s390/s390.cc