* gen.c (gen_entry_expand_opcode): Initialize ``value'' to -1 and

``t'' to NULL.
* igen.c (main): Add default case to switch.
* gen-icache.c (print_icache_extraction): Ditto.
This commit is contained in:
Andrew Cagney 2002-06-17 21:44:06 +00:00
parent b5d78d39b0
commit 78e731cd36
4 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2002-06-17 Andrew Cagney <cagney@redhat.com>
* gen.c (gen_entry_expand_opcode): Initialize ``value'' to -1 and
``t'' to NULL.
* igen.c (main): Add default case to switch.
* gen-icache.c (print_icache_extraction): Ditto.
2002-06-17 Andrew Cagney <cagney@redhat.com>
* Makefile.in (BUILD_CFLAGS): Remove -O0.

View File

@ -132,6 +132,8 @@ print_icache_extraction (lf *file,
else
return;
break;
default:
abort (); /* Bad switch. */
}
/* For the type, default to a simple unsigned */

View File

@ -1025,9 +1025,9 @@ gen_entry_expand_opcode (gen_entry *table,
}
case insn_field_cond_field:
{
int value;
int value = -1;
opcode_bits *bit;
gen_entry *t;
gen_entry *t = NULL;
/* Try to find a value for the
conditional by looking back through
the previously defined bits for one

View File

@ -1277,6 +1277,8 @@ main (int argc,
case 'S':
name = &names->suffix;
break;
default:
abort (); /* Bad switch. */
}
name->u = strdup (chp);
name->l = strdup (chp);