diff options
author | Joern Rennecke <amylaar@spamcop.net> | 2010-11-11 19:11:44 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2010-11-11 19:11:44 +0000 |
commit | 77b0efff1d56d9579cb964b5f34a5eaddf146715 (patch) | |
tree | d3c5a27fdbc823c3b12b224f3ce343a40c01d045 /gcc/config/mep/mep-protos.h | |
parent | d6f62adad78d4dcb1af8cbc8515b86a9a3e46076 (diff) | |
download | gcc-77b0efff1d56d9579cb964b5f34a5eaddf146715.zip gcc-77b0efff1d56d9579cb964b5f34a5eaddf146715.tar.gz gcc-77b0efff1d56d9579cb964b5f34a5eaddf146715.tar.bz2 |
re PR target/44749 (mep-elf fails to build)
PR target/44749
* config/mep/mep-protos.h (mep_legitimize_reload_address): Always
declare. Change type of argument four to type int.
(mep_secondary_input_reload_class): Returns enum reg_class.
(mep_secondary_output_reload_class): Likewise.
(mep_function_value): Change types of arguments to cont_tree.
* config/mep/mep.c (mep_legitimize_reload_address): Change type of
argument four to type int.
(mep_secondary_input_reload_class): Returns enum reg_class.
(mep_secondary_output_reload_class): Likewise.
(mep_function_value): Change types of arguments to cont_tree.
* config/mep/mep.h (REGNO_REG_CLASS): Cast return value of
mep_regno_reg_class to enum reg_class.
From-SVN: r166614
Diffstat (limited to 'gcc/config/mep/mep-protos.h')
-rw-r--r-- | gcc/config/mep/mep-protos.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gcc/config/mep/mep-protos.h b/gcc/config/mep/mep-protos.h index c8a0b9b..857e6f2 100644 --- a/gcc/config/mep/mep-protos.h +++ b/gcc/config/mep/mep-protos.h @@ -35,9 +35,7 @@ extern bool mep_vliw_jmp_match (rtx); extern bool mep_multi_slot (rtx); extern bool mep_legitimate_address (enum machine_mode, rtx, int); extern int mep_legitimize_address (rtx *, rtx, enum machine_mode); -#ifdef MAX_RELOADS -extern int mep_legitimize_reload_address (rtx *, enum machine_mode, int, enum reload_type, int); -#endif +extern int mep_legitimize_reload_address (rtx *, enum machine_mode, int, /*enum reload_type*/ int, int); extern int mep_core_address_length (rtx, int); extern int mep_cop_address_length (rtx, int); extern bool mep_expand_mov (rtx *, enum machine_mode); @@ -51,8 +49,8 @@ extern bool mep_legitimate_constant_p (rtx); extern const char *mep_emit_cbranch (rtx *, int); extern void mep_expand_call (rtx *, int); extern rtx mep_find_base_term (rtx); -extern int mep_secondary_input_reload_class (enum reg_class, enum machine_mode, rtx); -extern int mep_secondary_output_reload_class (enum reg_class, enum machine_mode, rtx); +extern enum reg_class mep_secondary_input_reload_class (enum reg_class, enum machine_mode, rtx); +extern enum reg_class mep_secondary_output_reload_class (enum reg_class, enum machine_mode, rtx); extern bool mep_secondary_memory_needed (enum reg_class, enum reg_class, enum machine_mode); extern void mep_expand_reload (rtx *, enum machine_mode); @@ -76,7 +74,7 @@ extern void mep_print_operand (FILE *, rtx, int); extern void mep_final_prescan_insn (rtx, rtx *, int); extern void mep_init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx, tree); extern bool mep_return_in_memory (const_tree, const_tree); -extern rtx mep_function_value (tree, tree); +extern rtx mep_function_value (const_tree, const_tree); extern rtx mep_libcall_value (enum machine_mode); extern void mep_asm_output_opcode (FILE *, const char *); extern void mep_note_pragma_disinterrupt (const char *); |