aboutsummaryrefslogtreecommitdiff
path: root/gcc/genrecog.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1999-09-14 18:19:09 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1999-09-14 18:19:09 +0000
commit341a243eaf86f5e0e1534698240cf215794f4771 (patch)
tree1e9afbcb55cdfa686ce8918bf81ce92b95aee8fd /gcc/genrecog.c
parentda09e3172ddd820e2115b5c3eb72b5bc023c983b (diff)
downloadgcc-341a243eaf86f5e0e1534698240cf215794f4771.zip
gcc-341a243eaf86f5e0e1534698240cf215794f4771.tar.gz
gcc-341a243eaf86f5e0e1534698240cf215794f4771.tar.bz2
c-pragma.c (handle_pragma_token): Wrap variables `name' and `value' in HANDLE_PRAGMA_WEAK.
* c-pragma.c (handle_pragma_token): Wrap variables `name' and `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP. * genrecog.c (make_insn_sequence): Call memset, not bzero. * jump.c (find_insert_position): Don't declare or define unless !HAVE_conditional_arithmetic. (returnjump_p_1, delete_prior_computation): Add static prototypes. * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes. * recog.c (offsettable_address_p): Prototype function pointer. (preprocess_constraints): Call memset, not bzero. * tree.c (tree_node_kind_names): Constify a char*. Make static. (gcc_obstack_init): Don't declare. (fix_sizetype): Add static prototype. (gcc_obstack_init): Use prototype casts in call to _obstack_begin. (tree_cons): Call memset, not bzero. * varasm.c (remove_from_pending_weak_list): Wrap declaration and definition in macro ASM_WEAKEN_LABEL. (mark_const_hash_entry): Add static prototype. From-SVN: r29410
Diffstat (limited to 'gcc/genrecog.c')
-rw-r--r--gcc/genrecog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/genrecog.c b/gcc/genrecog.c
index 0ee656f..a0caace 100644
--- a/gcc/genrecog.c
+++ b/gcc/genrecog.c
@@ -225,8 +225,8 @@ make_insn_sequence (insn, type)
int new_size;
new_size = (insn_name_ptr_size ? insn_name_ptr_size * 2 : 512);
insn_name_ptr = xrealloc (insn_name_ptr, sizeof(char *) * new_size);
- bzero (insn_name_ptr + insn_name_ptr_size,
- sizeof(char *) * (new_size - insn_name_ptr_size));
+ memset (insn_name_ptr + insn_name_ptr_size, 0,
+ sizeof(char *) * (new_size - insn_name_ptr_size));
insn_name_ptr_size = new_size;
}