aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2000-07-28 16:08:54 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2000-07-28 16:08:54 +0000
commit63bc1d05cc767f4ba9e7b2799927fb9e51aa409e (patch)
tree734e96f3da18c93c6b7322e5540e77ed92beff78 /gcc
parent60dd1b7be977f07cfddcc7a501db2874a2cd6ca3 (diff)
downloadgcc-63bc1d05cc767f4ba9e7b2799927fb9e51aa409e.zip
gcc-63bc1d05cc767f4ba9e7b2799927fb9e51aa409e.tar.gz
gcc-63bc1d05cc767f4ba9e7b2799927fb9e51aa409e.tar.bz2
dwarf2out.c: Indent #error directive.
* 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog12
-rw-r--r--gcc/config/rs6000/rs6000.c3
-rw-r--r--gcc/dwarf2out.c2
-rw-r--r--gcc/gbl-ctors.h9
-rw-r--r--gcc/gcse.c4
5 files changed, 23 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fef22b6..e97104a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 623a47d..16a55af 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -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] = {
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 8918783..31c66a7 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -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
diff --git a/gcc/gbl-ctors.h b/gcc/gbl-ctors.h
index 23fa736..ad72b16 100644
--- a/gcc/gbl-ctors.h
+++ b/gcc/gbl-ctors.h
@@ -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);
diff --git a/gcc/gcse.c b/gcc/gcse.c
index ad475ee..6275c09 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -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;