diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-01-11 23:27:40 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-01-11 23:27:40 +0000 |
commit | 3d994c6bef1ee2f790d5682d57977b2d61096726 (patch) | |
tree | d38469d11e239e057646171b9f1320f4dfe9a82a /gcc/alias.c | |
parent | d0af450df245b398eafc4338bc064e94801bde1e (diff) | |
download | gcc-3d994c6bef1ee2f790d5682d57977b2d61096726.zip gcc-3d994c6bef1ee2f790d5682d57977b2d61096726.tar.gz gcc-3d994c6bef1ee2f790d5682d57977b2d61096726.tar.bz2 |
alias.c: PROTO -> PARAMS.
* alias.c: PROTO -> PARAMS.
* basic-block.h: Likewise.
* bitmap.c: Likewise.
* bitmap.h: Likewise.
* builtins.c: Likewise.
* c-aux-info.c: Likewise.
* caller-save.c: Likewise.
* calls.c: Likewise.
From-SVN: r31338
Diffstat (limited to 'gcc/alias.c')
-rw-r--r-- | gcc/alias.c | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/gcc/alias.c b/gcc/alias.c index e08e6b9a..c85f110 100644 --- a/gcc/alias.c +++ b/gcc/alias.c @@ -1,5 +1,5 @@ /* Alias analysis for GNU C - Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc. Contributed by John Carr (jfc@mit.edu). This file is part of GNU CC. @@ -78,24 +78,23 @@ typedef struct alias_set_entry splay_tree children; } *alias_set_entry; -static rtx canon_rtx PROTO((rtx)); -static int rtx_equal_for_memref_p PROTO((rtx, rtx)); -static rtx find_symbolic_term PROTO((rtx)); -static int memrefs_conflict_p PROTO((int, rtx, int, rtx, - HOST_WIDE_INT)); -static void record_set PROTO((rtx, rtx, void *)); -static rtx find_base_term PROTO((rtx)); -static int base_alias_check PROTO((rtx, rtx, enum machine_mode, - enum machine_mode)); -static rtx find_base_value PROTO((rtx)); -static int mems_in_disjoint_alias_sets_p PROTO((rtx, rtx)); -static int insert_subset_children PROTO((splay_tree_node, - void*)); -static alias_set_entry get_alias_set_entry PROTO((int)); -static rtx fixed_scalar_and_varying_struct_p PROTO((rtx, rtx, int (*)(rtx))); -static int aliases_everything_p PROTO((rtx)); -static int write_dependence_p PROTO((rtx, rtx, int)); -static int nonlocal_reference_p PROTO((rtx)); +static rtx canon_rtx PARAMS ((rtx)); +static int rtx_equal_for_memref_p PARAMS ((rtx, rtx)); +static rtx find_symbolic_term PARAMS ((rtx)); +static int memrefs_conflict_p PARAMS ((int, rtx, int, rtx, + HOST_WIDE_INT)); +static void record_set PARAMS ((rtx, rtx, void *)); +static rtx find_base_term PARAMS ((rtx)); +static int base_alias_check PARAMS ((rtx, rtx, enum machine_mode, + enum machine_mode)); +static rtx find_base_value PARAMS ((rtx)); +static int mems_in_disjoint_alias_sets_p PARAMS ((rtx, rtx)); +static int insert_subset_children PARAMS ((splay_tree_node, void*)); +static alias_set_entry get_alias_set_entry PARAMS ((int)); +static rtx fixed_scalar_and_varying_struct_p PARAMS ((rtx, rtx, int (*)(rtx))); +static int aliases_everything_p PARAMS ((rtx)); +static int write_dependence_p PARAMS ((rtx, rtx, int)); +static int nonlocal_reference_p PARAMS ((rtx)); /* Set up all info needed to perform alias analysis on memory references. */ @@ -1192,7 +1191,7 @@ static rtx fixed_scalar_and_varying_struct_p (mem1, mem2, varies_p) rtx mem1; rtx mem2; - int (*varies_p) PROTO((rtx)); + int (*varies_p) PARAMS ((rtx)); { rtx mem1_addr = XEXP (mem1, 0); rtx mem2_addr = XEXP (mem2, 0); @@ -1238,7 +1237,7 @@ true_dependence (mem, mem_mode, x, varies) rtx mem; enum machine_mode mem_mode; rtx x; - int (*varies) PROTO((rtx)); + int (*varies) PARAMS ((rtx)); { register rtx x_addr, mem_addr; |