diff options
author | Joern Rennecke <joern.rennecke@embecosm.com> | 2010-06-23 12:29:32 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2010-06-23 13:29:32 +0100 |
commit | 82c0295ae38792dae5f40dcc078768dc7f059e91 (patch) | |
tree | 5d62fd708bfb65cf9d90b8069e26de0a0c76bb6f /gcc | |
parent | 1d57c04fd72d5ab77242be1877aec05d2674c467 (diff) | |
download | gcc-82c0295ae38792dae5f40dcc078768dc7f059e91.zip gcc-82c0295ae38792dae5f40dcc078768dc7f059e91.tar.gz gcc-82c0295ae38792dae5f40dcc078768dc7f059e91.tar.bz2 |
* config/spu/spu-protos.h (spu_expand_epilogue) Use bool.
* config/spu/spu.c (spu_scalar_mode_supported_p): Declare with bool.
(spu_vector_mode_supported_p, spu_handle_fndecl_attribute): Likewise.
(spu_handle_vector_attribute, spu_pass_by_reference): Likewise.
(spu_rtx_costs, spu_function_ok_for_sibcall): Likewise.
From-SVN: r161274
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/spu/spu-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/spu/spu.c | 18 |
3 files changed, 18 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d3fe079..3b5d4fe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2010-06-23 Joern Rennecke <joern.rennecke@embecosm.com> + + * config/spu/spu-protos.h (spu_expand_epilogue) Use bool. + * config/spu/spu.c (spu_scalar_mode_supported_p): Declare with bool. + (spu_vector_mode_supported_p, spu_handle_fndecl_attribute): Likewise. + (spu_handle_vector_attribute, spu_pass_by_reference): Likewise. + (spu_rtx_costs, spu_function_ok_for_sibcall): Likewise. + 2010-06-23 Arnaud Charlet <charlet@adacore.com PR ada/22220 diff --git a/gcc/config/spu/spu-protos.h b/gcc/config/spu/spu-protos.h index eae6bad..6bf4f65 100644 --- a/gcc/config/spu/spu-protos.h +++ b/gcc/config/spu/spu-protos.h @@ -36,7 +36,7 @@ extern int spu_split_immediate (rtx * ops); extern int spu_saved_regs_size (void); extern int direct_return (void); extern void spu_expand_prologue (void); -extern void spu_expand_epilogue (unsigned char sibcall_p); +extern void spu_expand_epilogue (bool sibcall_p); extern rtx spu_return_addr (int count, rtx frame); #ifdef RTX_CODE diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c index f8dd305..a756178 100644 --- a/gcc/config/spu/spu.c +++ b/gcc/config/spu/spu.c @@ -150,8 +150,8 @@ char regs_ever_allocated[FIRST_PSEUDO_REGISTER]; /* Prototypes and external defs. */ static void spu_init_builtins (void); static tree spu_builtin_decl (unsigned, bool); -static unsigned char spu_scalar_mode_supported_p (enum machine_mode mode); -static unsigned char spu_vector_mode_supported_p (enum machine_mode mode); +static bool spu_scalar_mode_supported_p (enum machine_mode mode); +static bool spu_vector_mode_supported_p (enum machine_mode mode); static bool spu_legitimate_address_p (enum machine_mode, rtx, bool); static bool spu_addr_space_legitimate_address_p (enum machine_mode, rtx, bool, addr_space_t); @@ -180,13 +180,13 @@ static void spu_sched_init (FILE *, int, int); static int spu_sched_reorder (FILE *, int, rtx *, int *, int); static tree spu_handle_fndecl_attribute (tree * node, tree name, tree args, int flags, - unsigned char *no_add_attrs); + bool *no_add_attrs); static tree spu_handle_vector_attribute (tree * node, tree name, tree args, int flags, - unsigned char *no_add_attrs); + bool *no_add_attrs); static int spu_naked_function_p (tree func); -static unsigned char spu_pass_by_reference (CUMULATIVE_ARGS *cum, enum machine_mode mode, - const_tree type, unsigned char named); +static bool spu_pass_by_reference (CUMULATIVE_ARGS *cum, enum machine_mode mode, + const_tree type, bool named); static tree spu_build_builtin_va_list (void); static void spu_va_start (tree, rtx); static tree spu_gimplify_va_arg_expr (tree valist, tree type, @@ -196,9 +196,9 @@ static int mem_is_padded_component_ref (rtx x); static int reg_aligned_for_addr (rtx x); static bool spu_assemble_integer (rtx x, unsigned int size, int aligned_p); static void spu_asm_globalize_label (FILE * file, const char *name); -static unsigned char spu_rtx_costs (rtx x, int code, int outer_code, - int *total, bool speed); -static unsigned char spu_function_ok_for_sibcall (tree decl, tree exp); +static bool spu_rtx_costs (rtx x, int code, int outer_code, + int *total, bool speed); +static bool spu_function_ok_for_sibcall (tree decl, tree exp); static void spu_init_libfuncs (void); static bool spu_return_in_memory (const_tree type, const_tree fntype); static void fix_range (const char *); |