cfgrtl.c (purge_all_dead_edges): Initialize variable.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sun, 2 Dec 2001 13:43:10 +0000 (13:43 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sun, 2 Dec 2001 13:43:10 +0000 (13:43 +0000)
* 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

gcc/ChangeLog
gcc/cfgrtl.c
gcc/dwarf2out.c
gcc/local-alloc.c
gcc/objc/objc-act.c

index c4d195ac91ede89fdfb0abe5530974edb9382690..2a42e6a2db04b91cc94ff8f80415f3e746f1cfa0 100644 (file)
@@ -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.
index 66dd7ffcf2a2f937d40bc55aaf496b0eabc953ab..f313d6ab822ca677a27a6e47a321bf6b636b8bb7 100644 (file)
@@ -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)
     {
index 557730dc892a75ae9ecd5a61cdfca1d1a1f004b7..7d2ea7b834725a6e0adb28fdd58742ec253dec2a 100644 (file)
@@ -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,
index 43f74bca1758f57f0690fe94fdec7f660dab286c..e66761f3c7a9b312258751d1614cbda23d234f57 100644 (file)
@@ -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;
                    }
index c001a5d94a044c48c9cd9ead11495ecc232e0182..ff449c756f1d82fafbf90f888d9168ae4f733a7b 100644 (file)
@@ -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