Warning fixes:
* 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. From-SVN: r28514
This commit is contained in:
parent
e88e3c0bf6
commit
cbbfcb3b23
@ -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>
|
Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
|
||||||
|
|
||||||
* cpphash.c (macroexpand): Delete leading whitespace when arg
|
* cpphash.c (macroexpand): Delete leading whitespace when arg
|
||||||
|
@ -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_start PROTO((int, tree));
|
||||||
static rtx expand_builtin_va_end PROTO((tree));
|
static rtx expand_builtin_va_end PROTO((tree));
|
||||||
static rtx expand_builtin_va_copy 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_memcmp PROTO((tree, tree, rtx));
|
||||||
static rtx expand_builtin_strcmp PROTO((tree, rtx));
|
static rtx expand_builtin_strcmp PROTO((tree, rtx));
|
||||||
|
#endif
|
||||||
static rtx expand_builtin_memcpy PROTO((tree));
|
static rtx expand_builtin_memcpy PROTO((tree));
|
||||||
static rtx expand_builtin_strcpy PROTO((tree));
|
static rtx expand_builtin_strcpy PROTO((tree));
|
||||||
static rtx expand_builtin_memset PROTO((tree));
|
static rtx expand_builtin_memset PROTO((tree));
|
||||||
|
@ -2205,7 +2205,6 @@ cpp_get_token (pfile)
|
|||||||
if (opts->cplusplus && PEEKN (1) == '*')
|
if (opts->cplusplus && PEEKN (1) == '*')
|
||||||
{
|
{
|
||||||
/* In C++, there's a ->* operator. */
|
/* In C++, there's a ->* operator. */
|
||||||
op3:
|
|
||||||
token = CPP_OTHER;
|
token = CPP_OTHER;
|
||||||
pfile->only_seen_white = 0;
|
pfile->only_seen_white = 0;
|
||||||
CPP_RESERVE (pfile, 4);
|
CPP_RESERVE (pfile, 4);
|
||||||
|
@ -1195,7 +1195,6 @@ operand_subword (op, i, validate_address, mode)
|
|||||||
{
|
{
|
||||||
HOST_WIDE_INT val;
|
HOST_WIDE_INT val;
|
||||||
int size_ratio = HOST_BITS_PER_WIDE_INT / BITS_PER_WORD;
|
int size_ratio = HOST_BITS_PER_WIDE_INT / BITS_PER_WORD;
|
||||||
int bits_per_word = BITS_PER_WORD;
|
|
||||||
|
|
||||||
if (mode == VOIDmode)
|
if (mode == VOIDmode)
|
||||||
mode = GET_MODE (op);
|
mode = GET_MODE (op);
|
||||||
|
@ -495,7 +495,6 @@ shallow_copy_rtx (orig)
|
|||||||
rtx orig;
|
rtx orig;
|
||||||
{
|
{
|
||||||
register int i;
|
register int i;
|
||||||
register char *format_ptr;
|
|
||||||
register RTX_CODE code = GET_CODE (orig);
|
register RTX_CODE code = GET_CODE (orig);
|
||||||
register rtx copy = rtx_alloc (code);
|
register rtx copy = rtx_alloc (code);
|
||||||
|
|
||||||
|
@ -1950,7 +1950,9 @@ chainon (op1, op2)
|
|||||||
if (op1)
|
if (op1)
|
||||||
{
|
{
|
||||||
register tree t1;
|
register tree t1;
|
||||||
|
#ifdef ENABLE_CHECKING
|
||||||
register tree t2;
|
register tree t2;
|
||||||
|
#endif
|
||||||
|
|
||||||
for (t1 = op1; TREE_CHAIN (t1); t1 = TREE_CHAIN (t1))
|
for (t1 = op1; TREE_CHAIN (t1); t1 = TREE_CHAIN (t1))
|
||||||
;
|
;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user