AVR: ad target/84211 - Fix a build failure on some hosts.

This fixes a build failure on hosts where HARD_REG_SET is not a scalar.
	The issue was introduced with the patch for PR84211 in r15-5415.
	PR target/84211
gcc/
	* config/avr/avr-passes.cc (memento_t::apply_insn1): Don't
	use operator &= on memento_t.known but on memento_t itself.
This commit is contained in:
Georg-Johann Lay 2024-11-19 14:53:10 +01:00
parent 234da38a0e
commit a4842917dc

View File

@ -2116,7 +2116,7 @@ memento_t::apply_insn1 (rtx_insn *insn, bool unused)
HARD_REG_SET rset;
find_all_hard_reg_sets (insn, &rset, true /* implicit */);
known &= ~rset;
(*this) &= ~rset;
rtx set = single_set (insn);
rtx dest;