diff options
author | Daniel Berlin <dan@cgsoftware.com> | 2001-07-29 18:21:08 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2001-07-29 18:21:08 +0000 |
commit | b2d5779326ed5cc88bdfd92051d7a0bc077b08ef (patch) | |
tree | 338c1dfc401b2ef68f7aac1d0b6b6ba145663419 /gcc/regclass.c | |
parent | 6d18adbc2c00b2919cbf6b59219a2287e6feecd7 (diff) | |
download | gcc-b2d5779326ed5cc88bdfd92051d7a0bc077b08ef.zip gcc-b2d5779326ed5cc88bdfd92051d7a0bc077b08ef.tar.gz gcc-b2d5779326ed5cc88bdfd92051d7a0bc077b08ef.tar.bz2 |
[multiple changes]
2001-07-27 Daniel Berlin <dan@cgsoftware.com>
* regclass.c (reg_scan_mark_refs): Increment REG_N_REFS when we
increment REG_N_SETS.
2001-07-26 Daniel Berlin <dan@cgsoftware.com>
* sbitmap.h: New prototype for sbitmap_a_xor_b.
* sbitmap.c (sbitmap_a_xor_b): New function.
#ifdef the basic block stuff on the define IN_GCC.
From-SVN: r44460
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r-- | gcc/regclass.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c index bfde1e9..2d80e7e 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -2427,7 +2427,10 @@ reg_scan_mark_refs (x, insn, note_flag, min_regno) if (GET_CODE (dest) == REG && REGNO (dest) >= min_regno) - REG_N_SETS (REGNO (dest))++; + { + REG_N_SETS (REGNO (dest))++; + REG_N_REFS (REGNO (dest))++; + } /* If this is setting a pseudo from another pseudo or the sum of a pseudo and a constant integer and the other pseudo is known to be |