diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-04 23:17:44 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-04 23:17:44 +0000 |
commit | c626df3dde36468ebfb90f0d72a57b18dd90a26e (patch) | |
tree | fd988634ea7d34463ef0d9c6ba21c7b8a226ad45 | |
parent | 0aa566003babcfdf69c55455598a2c0c440d680c (diff) | |
download | gcc-c626df3dde36468ebfb90f0d72a57b18dd90a26e.tar.gz |
* builtins.c (expand_builtin_return_addr,
expand_builtin_longjmp, expand_builtin_trap): Make them static.
* expr.h: Remove the prototypes for expand_builtin_longjmp and
expand_builtin_trap.
* tree.h: Remove the prototype for expand_builtin_return_addr.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90087 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/builtins.c | 6 | ||||
-rw-r--r-- | gcc/expr.h | 2 | ||||
-rw-r--r-- | gcc/tree.h | 1 |
4 files changed, 11 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b110b8ef50b..a1f10b132da 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,13 @@ 2004-11-04 Kazu Hirata <kazu@cs.umass.edu> + * builtins.c (expand_builtin_return_addr, + expand_builtin_longjmp, expand_builtin_trap): Make them static. + * expr.h: Remove the prototypes for expand_builtin_longjmp and + expand_builtin_trap. + * tree.h: Remove the prototype for expand_builtin_return_addr. + +2004-11-04 Kazu Hirata <kazu@cs.umass.edu> + * tree-cfg.c (find_taken_edge): Reject VAL begin NULL. * tree-ssa-ccp.c (visit_cond_stmt): Don't call find_taken_edge with VAL being NULL. diff --git a/gcc/builtins.c b/gcc/builtins.c index 4c1d3a4f6fc..3749e0ef011 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -452,7 +452,7 @@ builtin_save_expr (tree exp) times to get the address of either a higher stack frame, or a return address located within it (depending on FNDECL_CODE). */ -rtx +static rtx expand_builtin_return_addr (enum built_in_function fndecl_code, int count, rtx tem) { @@ -688,7 +688,7 @@ expand_builtin_setjmp (tree arglist, rtx target) scheme in the compiler and will only work in the method used by them. */ -void +static void expand_builtin_longjmp (rtx buf_addr, rtx value) { rtx fp, lab, stack, insn, last; @@ -4420,7 +4420,7 @@ expand_builtin_expect_jump (tree exp, rtx if_false_label, rtx if_true_label) return ret; } -void +static void expand_builtin_trap (void) { #ifdef HAVE_trap diff --git a/gcc/expr.h b/gcc/expr.h index b5ec33f02bf..ec5f9431714 100644 --- a/gcc/expr.h +++ b/gcc/expr.h @@ -340,9 +340,7 @@ extern void std_expand_builtin_va_start (tree, rtx); extern rtx default_expand_builtin (tree, rtx, rtx, enum machine_mode, int); extern void expand_builtin_setjmp_setup (rtx, rtx); extern void expand_builtin_setjmp_receiver (rtx); -extern void expand_builtin_longjmp (rtx, rtx); extern rtx expand_builtin_saveregs (void); -extern void expand_builtin_trap (void); /* Functions from expr.c: */ diff --git a/gcc/tree.h b/gcc/tree.h index 001c967178e..7a0db8186c1 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -3653,7 +3653,6 @@ extern bool debug_find_tree (tree, tree); extern tree unsave_expr_now (tree); /* In expr.c */ -extern rtx expand_builtin_return_addr (enum built_in_function, int, rtx); extern void check_max_integer_computation_mode (tree); /* In emit-rtl.c */ |