aboutsummaryrefslogtreecommitdiff
path: root/gcc/local-alloc.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-12-02 13:43:10 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-12-02 13:43:10 +0000
commit710af8993d78c5d2989f0e2f3a7f46257aef0259 (patch)
treef2fdb062d193a675e3ad67289a66d5754ba72f51 /gcc/local-alloc.c
parenta1f04b2e517d84bd0c3dd1d25148acade323b69b (diff)
downloadgcc-710af8993d78c5d2989f0e2f3a7f46257aef0259.zip
gcc-710af8993d78c5d2989f0e2f3a7f46257aef0259.tar.gz
gcc-710af8993d78c5d2989f0e2f3a7f46257aef0259.tar.bz2
cfgrtl.c (purge_all_dead_edges): Initialize variable.
* cfgrtl.c (purge_all_dead_edges): Initialize variable. * dwarf2out.c (is_cxx): Prototype. * local-alloc.c (block_alloc): Avoid 'unsigned>=0 is always true' warning. * objc/objc-act.c (defer_fn): Avoid signed/unsigned warning. From-SVN: r47528
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r--gcc/local-alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c
index 43f74bca..e66761f 100644
--- a/gcc/local-alloc.c
+++ b/gcc/local-alloc.c
@@ -1347,8 +1347,8 @@ block_alloc (b)
if (hard_reg != NULL_RTX)
{
if (GET_CODE (hard_reg) == REG
- && REGNO (hard_reg) >= 0
- && REGNO (hard_reg) < FIRST_PSEUDO_REGISTER
+ && IN_RANGE (REGNO (hard_reg),
+ 0, FIRST_PSEUDO_REGISTER - 1)
&& ! call_used_regs[REGNO (hard_reg)])
continue;
}