diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/calls.c | 2 | ||||
-rw-r--r-- | gcc/expmed.c | 2 | ||||
-rw-r--r-- | gcc/gcse.c | 2 | ||||
-rw-r--r-- | gcc/jump.c | 2 | ||||
-rw-r--r-- | gcc/stmt.c | 2 | ||||
-rw-r--r-- | gcc/tree.c | 2 |
7 files changed, 13 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ae7e45c49b3..c626e8f381d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,12 @@ Sat Jun 20 00:36:16 1998 Jeffrey A Law (law@cygnus.com) + * calls.c (expand_call): Initialize "src" and "dest". + * stmt.c (expand_return): Likewise. + * expmed.c (extract_split_bit_field): Similarly for "result" + * gcse.c (compute_hash_table): Mark first arg as unused. + * jump.c (jump_optimize): Initialize reversep. + * tree.c (make_node): Initialize length. + * c-common.c (check_format_info): Initialize length_char and fci to keep -Wall quiet. diff --git a/gcc/calls.c b/gcc/calls.c index 8133cc0f58a..6271a611a8c 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -2116,7 +2116,7 @@ expand_call (exp, target, ignore) Deal with them explicitly by copying from the return registers into the target MEM locations. */ int bytes = int_size_in_bytes (TREE_TYPE (exp)); - rtx src, dst; + rtx src = NULL, dst = NULL; int bitsize = MIN (TYPE_ALIGN (TREE_TYPE (exp)), BITS_PER_WORD); int bitpos, xbitpos, big_endian_correction = 0; diff --git a/gcc/expmed.c b/gcc/expmed.c index e81eb0a1b01..d952d1b0ab8 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -1614,7 +1614,7 @@ extract_split_bit_field (op0, bitsize, bitpos, unsignedp, align) { int unit; int bitsdone = 0; - rtx result; + rtx result = NULL_RTX; int first = 1; /* Make sure UNIT isn't larger than BITS_PER_WORD, we can only handle that diff --git a/gcc/gcse.c b/gcc/gcse.c index eca12422c89..bcabf3e52ec 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -2011,7 +2011,7 @@ record_last_set_info (dest, setter) static void compute_hash_table (f, set_p) - rtx f; + rtx f ATTRIBUTE_UNUSED; int set_p; { int bb; diff --git a/gcc/jump.c b/gcc/jump.c index 36f9e783175..273d31d662c 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -598,7 +598,7 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) rtx reallabelprev; rtx temp, temp1, temp2, temp3, temp4, temp5, temp6; rtx nlabel; - int this_is_simplejump, this_is_condjump, reversep; + int this_is_simplejump, this_is_condjump, reversep = 0; int this_is_condjump_in_parallel; #if 0 /* If NOT the first iteration, if this is the last jump pass diff --git a/gcc/stmt.c b/gcc/stmt.c index fc8c382d958..138783b47b6 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -2452,7 +2452,7 @@ expand_return (retval) int n_regs = (bytes + UNITS_PER_WORD - 1) / UNITS_PER_WORD; int bitsize = MIN (TYPE_ALIGN (TREE_TYPE (retval_rhs)),BITS_PER_WORD); rtx *result_pseudos = (rtx *) alloca (sizeof (rtx) * n_regs); - rtx result_reg, src, dst; + rtx result_reg, src = NULL_RTX, dst = NULL_RTX; rtx result_val = expand_expr (retval_rhs, NULL_RTX, VOIDmode, 0); enum machine_mode tmpmode, result_reg_mode; diff --git a/gcc/tree.c b/gcc/tree.c index 75e1e1f533c..baf4551cadd 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -936,7 +936,7 @@ make_node (code) { register tree t; register int type = TREE_CODE_CLASS (code); - register int length; + register int length = 0; register struct obstack *obstack = current_obstack; register int i; #ifdef GATHER_STATISTICS |