aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-11-27 15:32:18 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-11-27 15:32:18 +0000
commitec8e621da9820b3bb8d316a29195da93c926e8c1 (patch)
tree0ebd56d67867b2fffb18604276462ab609a63247 /gcc/flow.c
parent4a2fadaeccab5f82e7ab4d5d681fdc456ca0a990 (diff)
downloadgcc-ec8e621da9820b3bb8d316a29195da93c926e8c1.zip
gcc-ec8e621da9820b3bb8d316a29195da93c926e8c1.tar.gz
gcc-ec8e621da9820b3bb8d316a29195da93c926e8c1.tar.bz2
aix.h (REG_SIZE): Don't #undef.
* ia64/aix.h (REG_SIZE): Don't #undef. * sparc.h (REG_SIZE): Delete. * flow.c (mark_used_regs): Don't use REG_SIZE. * regs.h (REG_SIZE): Delete. From-SVN: r47378
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index fd5bf32..df27edc 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -3630,7 +3630,10 @@ mark_used_regs (pbi, x, cond, insn)
does not use any of the old value. But these other
ways of storing in a register do use the old value. */
if (GET_CODE (testreg) == SUBREG
- && !(REG_SIZE (SUBREG_REG (testreg)) > REG_SIZE (testreg)))
+ && !((REG_BYTES (SUBREG_REG (testreg))
+ + UNITS_PER_WORD - 1) / UNITS_PER_WORD
+ > (REG_BYTES (testreg)
+ + UNITS_PER_WORD - 1) / UNITS_PER_WORD))
;
else
mark_dest = 1;