diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2001-12-02 13:43:10 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2001-12-02 13:43:10 +0000 |
commit | 710af8993d78c5d2989f0e2f3a7f46257aef0259 (patch) | |
tree | f2fdb062d193a675e3ad67289a66d5754ba72f51 /gcc | |
parent | a1f04b2e517d84bd0c3dd1d25148acade323b69b (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/cfgrtl.c | 2 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 1 | ||||
-rw-r--r-- | gcc/local-alloc.c | 4 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 2 |
5 files changed, 13 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4d195a..2a42e6a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2001-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * 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. + Sun Dec 2 07:12:30 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * libgcc2.c (__bb_exit_func): Fix line wrap problems. diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index 66dd7ff..f313d6a 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -1944,7 +1944,7 @@ purge_all_dead_edges (update_life_p) int update_life_p; { int i, purged = false; - sbitmap blocks; + sbitmap blocks = 0; if (update_life_p) { diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 557730d..7d2ea7b 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -3459,6 +3459,7 @@ static unsigned get_AT_unsigned PARAMS ((dw_die_ref, static inline dw_die_ref get_AT_ref PARAMS ((dw_die_ref, enum dwarf_attribute)); static int is_c_family PARAMS ((void)); +static int is_cxx PARAMS ((void)); static int is_java PARAMS ((void)); static int is_fortran PARAMS ((void)); static void remove_AT PARAMS ((dw_die_ref, 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; } diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index c001a5d..ff449c7 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -631,7 +631,7 @@ defer_fn (fn) void finish_file () { - int i; + size_t i; for (i = 0; i < VARRAY_ACTIVE_SIZE (deferred_fns); i++) /* Don't output the same function twice. We may run into such |