dwarf2out.c: Indent #error directive.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri, 28 Jul 2000 16:08:54 +0000 (16:08 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Fri, 28 Jul 2000 16:08:54 +0000 (16:08 +0000)
* dwarf2out.c: Indent #error directive.

* gbl-ctors.h: Fix typo in comment.
(__do_global_ctors): Prototype.

* gcse.c (record_one_set, pre_delete): Remove unused variables.

* rs6000.c (rs6000_maybe_dead): Delete unused prototype.
(print_operand): Initialize variable `t'.

From-SVN: r35319

gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/dwarf2out.c
gcc/gbl-ctors.h
gcc/gcse.c

index fef22b694d71682d448b66890703a656cc9b14f8..e97104a37bd6713b39fe5da67bf8a22ebabb5e50 100644 (file)
@@ -1,3 +1,15 @@
+2000-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * dwarf2out.c: Indent #error directive.
+
+       * gbl-ctors.h: Fix typo in comment.
+       (__do_global_ctors): Prototype.
+
+       * gcse.c (record_one_set, pre_delete): Remove unused variables.
+       
+       * rs6000.c (rs6000_maybe_dead): Delete unused prototype.
+       (print_operand): Initialize variable `t'.
+
 2000-07-27  Aldy Hernandez  <aldyh@redhat.com>
 
        * config/arm/arm.md ("call_value"): removed constraints.
index 623a47d1d311eb39c39526bde9e21b1d81a1b0d4..16a55afd6f1e777f9ed81190b41728b8b1958ccd 100644 (file)
@@ -119,7 +119,6 @@ static int rs6000_sr_alias_set;
 static void rs6000_add_gc_roots PARAMS ((void));
 static int num_insns_constant_wide PARAMS ((HOST_WIDE_INT));
 static rtx expand_block_move_mem PARAMS ((enum machine_mode, rtx, rtx));
-static void rs6000_maybe_dead PARAMS ((rtx));
 static void rs6000_emit_stack_tie PARAMS ((void));
 static void rs6000_frame_related PARAMS ((rtx, rtx, HOST_WIDE_INT, rtx, rtx));
 static void rs6000_emit_allocate_stack PARAMS ((HOST_WIDE_INT, int));
@@ -3905,7 +3904,7 @@ print_operand (file, x, code)
         expression.  The expression may have one or both operands
         negated (if one, only the first one).  */
       {
-       const char *const *t;
+       const char *const *t = 0;
        const char *s;
        enum rtx_code code = GET_CODE (x);
        static const char * const tbl[3][3] = {
index 8918783c41c7881054803aa4256017eaec1084e2..31c66a74d1c0a50b8c4b601e74a1879bb547174b 100644 (file)
@@ -465,7 +465,7 @@ static void def_cfa_1                       PARAMS ((const char *, dw_cfa_location *));
    .debug_frame.  But we know it won't work for .debug_info.  */
 
 #ifdef DWARF2_DEBUGGING_INFO
-#error DWARF2_DEBUGGING_INFO requires UNALIGNED_INT_ASM_OP.
+ #error DWARF2_DEBUGGING_INFO requires UNALIGNED_INT_ASM_OP.
 #endif
 
 #ifndef ASM_OUTPUT_DWARF_ADDR
index 23fa7361b45a03fada349712848f4cf30c8243bd..ad72b16f4b306b7749cd3bf0758f9087df021427 100644 (file)
@@ -2,7 +2,8 @@
    for getting g++ file-scope static objects constructed.  This file
    will get included either by libgcc2.c (for systems that don't support
    a .init section) or by crtstuff.c (for those that do).
-   Copyright (C) 1991, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1991, 1995, 1996, 1998, 1999, 2000
+   Free Software Foundation, Inc.
    Contributed by Ron Guilmette (rfg@segfault.us.com)
 
 This file is part of GNU CC.
@@ -44,7 +45,11 @@ typedef void (*func_ptr) (void);
 extern func_ptr __CTOR_LIST__[];
 extern func_ptr __DTOR_LIST__[];
 
-/* Declare the routine which need to get invoked at program exit time.  */
+/* Declare the routine which needs to get invoked at program start time.  */
+
+extern void __do_global_ctors (void);
+
+/* Declare the routine which needs to get invoked at program exit time.  */
 
 extern void __do_global_dtors (void);
 
index ad475eeaf66555bcc4d3c10bc4247431f763b7b8..6275c097258d7d88baf17a1c43a270ae805b3b15 100644 (file)
@@ -1114,7 +1114,7 @@ record_one_set (regno, insn)
      rtx insn;
 {
   /* allocate a new reg_set element and link it onto the list */
-  struct reg_set *new_reg_info, *reg_info_ptr1, *reg_info_ptr2;
+  struct reg_set *new_reg_info;
 
   /* If the table isn't big enough, enlarge it.  */
   if (regno >= reg_set_table_size)
@@ -4569,7 +4569,7 @@ static int
 pre_delete ()
 {
   unsigned int i;
-  int bb, changed;
+  int changed;
   struct expr *expr;
   struct occr *occr;