aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog14
-rw-r--r--gcc/builtins.c2
-rw-r--r--gcc/cpplib.c1
-rw-r--r--gcc/emit-rtl.c1
-rw-r--r--gcc/rtl.c1
-rw-r--r--gcc/tree.c2
6 files changed, 18 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 39a7bbc..0ae4eac 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,17 @@
+Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
+ prototypes in macro HAVE_cmpstrsi.
+
+ * cpplib.c (cpp_get_token): Remove unused label `op3'.
+
+ * emit-rtl.c (operand_subword): Remove unused variable
+ `bits_per_word'.
+
+ * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
+
+ * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
+
Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
* cpphash.c (macroexpand): Delete leading whitespace when arg
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 1c16352..9f2b816 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -78,8 +78,10 @@ static rtx expand_builtin_next_arg PROTO((tree));
static rtx expand_builtin_va_start PROTO((int, tree));
static rtx expand_builtin_va_end PROTO((tree));
static rtx expand_builtin_va_copy PROTO((tree));
+#ifdef HAVE_cmpstrsi
static rtx expand_builtin_memcmp PROTO((tree, tree, rtx));
static rtx expand_builtin_strcmp PROTO((tree, rtx));
+#endif
static rtx expand_builtin_memcpy PROTO((tree));
static rtx expand_builtin_strcpy PROTO((tree));
static rtx expand_builtin_memset PROTO((tree));
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index ab2e203..f2fadf2 100644
--- a/gcc/cpplib.c
+++ b/gcc/cpplib.c
@@ -2205,7 +2205,6 @@ cpp_get_token (pfile)
if (opts->cplusplus && PEEKN (1) == '*')
{
/* In C++, there's a ->* operator. */
- op3:
token = CPP_OTHER;
pfile->only_seen_white = 0;
CPP_RESERVE (pfile, 4);
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index 3c0e08c..7d20d75 100644
--- a/gcc/emit-rtl.c
+++ b/gcc/emit-rtl.c
@@ -1195,7 +1195,6 @@ operand_subword (op, i, validate_address, mode)
{
HOST_WIDE_INT val;
int size_ratio = HOST_BITS_PER_WIDE_INT / BITS_PER_WORD;
- int bits_per_word = BITS_PER_WORD;
if (mode == VOIDmode)
mode = GET_MODE (op);
diff --git a/gcc/rtl.c b/gcc/rtl.c
index 6b04bcd..668e92f 100644
--- a/gcc/rtl.c
+++ b/gcc/rtl.c
@@ -495,7 +495,6 @@ shallow_copy_rtx (orig)
rtx orig;
{
register int i;
- register char *format_ptr;
register RTX_CODE code = GET_CODE (orig);
register rtx copy = rtx_alloc (code);
diff --git a/gcc/tree.c b/gcc/tree.c
index f0dc0ee..9ab2fea 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -1950,7 +1950,9 @@ chainon (op1, op2)
if (op1)
{
register tree t1;
+#ifdef ENABLE_CHECKING
register tree t2;
+#endif
for (t1 = op1; TREE_CHAIN (t1); t1 = TREE_CHAIN (t1))
;