summaryrefslogtreecommitdiff
path: root/gcc/config/m32c/m32c-protos.h
diff options
context:
space:
mode:
authorJoern Rennecke <amylaar@spamcop.net>2010-11-05 18:46:22 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2010-11-05 18:46:22 +0000
commit444d6efeb6561816dcf69fcf0202597231eb88a0 (patch)
tree4abc0d82ee5fa2b59f91fed31d3f65b72e094d2d /gcc/config/m32c/m32c-protos.h
parentb71e5eba5e3cab860b00dd7328d15b5a6fd30058 (diff)
downloadgcc-444d6efeb6561816dcf69fcf0202597231eb88a0.tar.gz
re PR target/44754 (m32c_pragma_memregs / m32c_pragma_address warnings)
PR target/44754 * config/m32c/m32c.c (m32_function_arg): Rename declaration to... (m32c_function_arg). Add comma between arguments two and three. (m32c_promote_prototypes): Remove declaration. (current_function_special_page_vector): Likewise. (m32c_regno_reg_class): Change return type to enum reg_class. (m32c_pushm_popm): Use add_reg_note. (m32c_push_rounding): Change return type to unsigned int. (m32c_legitimize_reload_address): Cast argument 11 to push_reload to enum reload_type. (m32c_insert_attributes): Constify variable name. (m32c_output_aligned_common): Add ATTRIBUTE_UNUSED to argument decl. (m32c_prepare_shift): Remove variable lref. (m32c_expand_movcc): Remove variable cmp. (m32c_expand_insv): Fix check of op0 rtx_code to use GET_CODE. (m32c_compare_redundant): Remove variable op2. * config/m32c/m32c-pragma.c ("c-family/c-common.h"): Include. (m32c_pragma_memregs): Assign the number to target_memregs. (m32c_pragma_address): Remove variable var_str. * config/m32c/m32c.h (REG_CLASS_FROM_CONSTRAINT): Case value to enum reg_class. (LIMIT_RELOAD_CLASS, SECONDARY_RELOAD_CLASS): Likewise. * config/m32c/bitops.md (andsi3): Add default case to switch. (iorsi3, xorsi3): Likewise. * config/m32c/addsub.md (addsi3_1, subsi3_1): Likewise. * config/m32c/jump.md (call, call_value): Likewise. * config/m32c/m32c-protos.h (m32c_push_rounding): Update prototype. (m32c_regno_reg_class): Likewise. (current_function_special_page_vector): Declare. From-SVN: r166370
Diffstat (limited to 'gcc/config/m32c/m32c-protos.h')
-rw-r--r--gcc/config/m32c/m32c-protos.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/m32c/m32c-protos.h b/gcc/config/m32c/m32c-protos.h
index 5d1c3bb9819..f7c32e7e877 100644
--- a/gcc/config/m32c/m32c-protos.h
+++ b/gcc/config/m32c/m32c-protos.h
@@ -37,7 +37,7 @@ int m32c_initial_elimination_offset (int, int);
void m32c_output_reg_pop (FILE *, int);
void m32c_output_reg_push (FILE *, int);
int m32c_print_operand_punct_valid_p (int);
-int m32c_push_rounding (int);
+unsigned int m32c_push_rounding (int);
int m32c_reg_class_from_constraint (char, const char *);
void m32c_register_pragmas (void);
void m32c_note_pragma_address (const char *, unsigned);
@@ -78,12 +78,13 @@ int m32c_prepare_shift (rtx *, int, int);
void m32c_print_operand (FILE *, rtx, int);
void m32c_print_operand_address (FILE *, rtx);
int m32c_reg_ok_for_base_p (rtx, int);
-MM m32c_regno_reg_class (int);
+enum reg_class m32c_regno_reg_class (int);
rtx m32c_return_addr_rtx (int);
const char *m32c_scc_pattern (rtx *, RTX_CODE);
int m32c_secondary_reload_class (int, MM, rtx);
int m32c_split_move (rtx *, MM, int);
int m32c_split_psi_p (rtx *);
+int current_function_special_page_vector (rtx);
#endif