2002-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+ * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
+ emit_jump_insn): Fix uninitialized variable.
+ * gcov.c (init_line_info): Likewise.
+ * genautomata.c (transform_3): Add braces around ambiguous
+ else.
+ * ifcvt.c (cond_exec_process_insns): Mark parameter with
+ ATTRIBUTE_UNUSED.
+ * ra-build.c (parts_to_webs_1): Fix uninitialized variable.
+ * regrename.c (copyprop_hardreg_forward): Fix uninitialized
+ variable.
+
* gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
warnings in output files.
emit_jump_insn_before (x, before)
rtx x, before;
{
- rtx insn, last;
+ rtx insn, last = NULL_RTX;
#ifdef ENABLE_RTL_CHECKING
if (before == NULL_RTX)
emit_call_insn_before (x, before)
rtx x, before;
{
- rtx last, insn;
+ rtx last = NULL_RTX, insn;
#ifdef ENABLE_RTL_CHECKING
if (before == NULL_RTX)
emit_jump_insn (x)
rtx x;
{
- rtx last, insn;
+ rtx last = NULL_RTX, insn;
switch (GET_CODE (x))
{
char *ptr = bb_data;
long count;
long line_num;
- struct line_info *line_ptr; /* line info ptr. */
+ struct line_info *line_ptr = 0; /* line info ptr. */
memset (&function, 0, sizeof (function));
if (output_function_summary)
max_seq_length = 0;
if (regexp->mode == rm_allof)
for (i = 0; i < REGEXP_ALLOF (regexp)->regexps_num; i++)
- if (REGEXP_ALLOF (regexp)->regexps [i]->mode == rm_sequence)
- {
- seq = REGEXP_ALLOF (regexp)->regexps [i];
- if (max_seq_length < REGEXP_SEQUENCE (seq)->regexps_num)
- max_seq_length = REGEXP_SEQUENCE (seq)->regexps_num;
- }
- else if (REGEXP_ALLOF (regexp)->regexps [i]->mode != rm_unit)
- {
- max_seq_length = 0;
- break;
- }
+ {
+ if (REGEXP_ALLOF (regexp)->regexps [i]->mode == rm_sequence)
+ {
+ seq = REGEXP_ALLOF (regexp)->regexps [i];
+ if (max_seq_length < REGEXP_SEQUENCE (seq)->regexps_num)
+ max_seq_length = REGEXP_SEQUENCE (seq)->regexps_num;
+ }
+ else if (REGEXP_ALLOF (regexp)->regexps [i]->mode != rm_unit)
+ {
+ max_seq_length = 0;
+ break;
+ }
+ }
if (max_seq_length != 0)
{
if (max_seq_length == 1 || REGEXP_ALLOF (regexp)->regexps_num <= 1)
static int
cond_exec_process_insns (ce_info, start, end, test, prob_val, mod_ok)
- ce_if_block_t *ce_info; /* if block information */
+ ce_if_block_t *ce_info ATTRIBUTE_UNUSED; /* if block information */
rtx start; /* first insn to look at */
rtx end; /* last insn to look at */
rtx test; /* conditional execution test */
webnum = 0;
for (i = 0; i < def_id + use_id; i++)
{
- struct web *web, *subweb;
+ struct web *subweb, *web = 0; /* Initialize web to silence warnings. */
struct web_part *wp = &web_parts[i];
struct ref *ref = wp->ref;
unsigned int ref_id;
{
struct value_data *all_vd;
bool need_refresh;
- basic_block bb, bbp;
+ basic_block bb, bbp = 0;
need_refresh = false;