* config/rx/rx.h (REGISTER_NAMES): Remove trailing semicolon.
* config/rx/rx.c (rx_promote_function_mode): Mark punsignedp
with ATTRIBUTE_UNUSED.
(valid_psw_flag): Constify parameter which.
(rx_memory_move_cost): Change type of parameter regclass to reg_class_t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166529
138bc75d-0d04-0410-961f-
82ee72b054a4
PR rtl-optimization/44764
* addresses.h (ok_for_base_p_1): Mark regno with ATTRIBUTE_UNUSED.
+ PR target/46407
+ * config/rx/rx.h (REGISTER_NAMES): Remove trailing semicolon.
+ * config/rx/rx.c (rx_promote_function_mode): Mark punsignedp
+ with ATTRIBUTE_UNUSED.
+ (valid_psw_flag): Constify parameter which.
+ (rx_memory_move_cost): Change type of parameter regclass to reg_class_t.
+
2010-11-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
PR/46268
static enum machine_mode
rx_promote_function_mode (const_tree type ATTRIBUTE_UNUSED,
enum machine_mode mode,
- int * punsignedp,
+ int * punsignedp ATTRIBUTE_UNUSED,
const_tree funtype ATTRIBUTE_UNUSED,
int for_return)
{
}
static int
-valid_psw_flag (rtx op, char *which)
+valid_psw_flag (rtx op, const char *which)
{
static int mvtc_inform_done = 0;
}
static int
-rx_memory_move_cost (enum machine_mode mode, enum reg_class regclass, bool in)
+rx_memory_move_cost (enum machine_mode mode, reg_class_t regclass, bool in)
{
return 2 + memory_move_secondary_cost (mode, regclass, in);
}
{ \
"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", \
"r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", "cc" \
- };
+ }
#define ADDITIONAL_REGISTER_NAMES \
{ \