aboutsummaryrefslogtreecommitdiff
path: root/gcc/recog.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/recog.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/recog.c')
-rw-r--r--gcc/recog.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index 1d4014b..d163e70 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -1828,7 +1828,8 @@ offsettable_address_p (strictp, mode, y)
register rtx z;
rtx y1 = y;
rtx *y2;
- int (*addressp) () = (strictp ? strict_memory_address_p : memory_address_p);
+ int (*addressp) PROTO ((enum machine_mode, rtx)) =
+ (strictp ? strict_memory_address_p : memory_address_p);
if (CONSTANT_ADDRESS_P (y))
return 1;
@@ -2062,7 +2063,7 @@ preprocess_constraints ()
{
int i;
- bzero (recog_op_alt, sizeof recog_op_alt);
+ memset (recog_op_alt, 0, sizeof recog_op_alt);
for (i = 0; i < recog_data.n_operands; i++)
{
int j;