mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
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:
parent
234da38a0e
commit
a4842917dc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user