diff options
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/gcn/gcn.c | 2 | ||||
-rw-r--r-- | gcc/config/m32c/m32c.c | 3 | ||||
-rw-r--r-- | gcc/config/s390/s390.c | 4 |
3 files changed, 4 insertions, 5 deletions
diff --git a/gcc/config/gcn/gcn.c b/gcc/config/gcn/gcn.c index 2c6c872..8d99eb2 100644 --- a/gcc/config/gcn/gcn.c +++ b/gcc/config/gcn/gcn.c @@ -4627,7 +4627,7 @@ gcn_md_reorg (void) not publish the cycle times for instructions. */ prev_insn->age += 1 + nops_rqd; - IOR_HARD_REG_SET (written, iwrites); + written |= iwrites; AND_COMPL_HARD_REG_SET (prev_insn->writes, written); } diff --git a/gcc/config/m32c/m32c.c b/gcc/config/m32c/m32c.c index d89064a..b60044f 100644 --- a/gcc/config/m32c/m32c.c +++ b/gcc/config/m32c/m32c.c @@ -2151,8 +2151,7 @@ m32c_register_move_cost (machine_mode mode, reg_class_t from, HARD_REG_SET cc; /* FIXME: pick real values, but not 2 for now. */ - cc = reg_class_contents[from]; - IOR_HARD_REG_SET (cc, reg_class_contents[(int) to]); + cc = reg_class_contents[from] | reg_class_contents[(int) to]; if (mode == QImode && hard_reg_set_intersect_p (cc, reg_class_contents[R23_REGS])) diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 389fca8..2c6b598 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -14073,7 +14073,7 @@ s390_adjust_loop_scan_osc (struct loop* loop) return false; find_all_hard_reg_sets (insn, &newregs, true); - IOR_HARD_REG_SET (modregs, newregs); + modregs |= newregs; set = single_set (insn); if (!set) @@ -14104,7 +14104,7 @@ s390_adjust_loop_scan_osc (struct loop* loop) return false; find_all_hard_reg_sets (insn, &newregs, true); - IOR_HARD_REG_SET (modregs, newregs); + modregs |= newregs; set = single_set (insn); if (!set) |