Commit cdf4112f by Torbjorn Granlund

(insert_regs): Always return something.

(simplify_unary_operation): Remove unused variable.
(cse_process_notes): Likewise.
(invalidate_skipped_block): Likewise.
(cse_set_around_loop): Likewise.

From-SVN: r5555
parent 7ab742b1
...@@ -1015,6 +1015,8 @@ insert_regs (x, classp, modified) ...@@ -1015,6 +1015,8 @@ insert_regs (x, classp, modified)
qty_mode[reg_qty[regno]] = GET_MODE (x); qty_mode[reg_qty[regno]] = GET_MODE (x);
return 1; return 1;
} }
return 0;
} }
/* If X is a SUBREG, we will likely be inserting the inner register in the /* If X is a SUBREG, we will likely be inserting the inner register in the
...@@ -3164,7 +3166,6 @@ simplify_unary_operation (code, mode, op, op_mode) ...@@ -3164,7 +3166,6 @@ simplify_unary_operation (code, mode, op, op_mode)
{ {
REAL_VALUE_TYPE d; REAL_VALUE_TYPE d;
jmp_buf handler; jmp_buf handler;
rtx x;
HOST_WIDE_INT val; HOST_WIDE_INT val;
if (setjmp (handler)) if (setjmp (handler))
...@@ -7184,7 +7185,6 @@ cse_process_notes (x, object) ...@@ -7184,7 +7185,6 @@ cse_process_notes (x, object)
{ {
enum rtx_code code = GET_CODE (x); enum rtx_code code = GET_CODE (x);
char *fmt = GET_RTX_FORMAT (code); char *fmt = GET_RTX_FORMAT (code);
int qty;
int i; int i;
switch (code) switch (code)
...@@ -7362,7 +7362,6 @@ invalidate_skipped_block (start) ...@@ -7362,7 +7362,6 @@ invalidate_skipped_block (start)
rtx start; rtx start;
{ {
rtx insn; rtx insn;
int i;
static struct write_data init = {0, 0, 0, 0}; static struct write_data init = {0, 0, 0, 0};
static struct write_data everything = {0, 1, 1, 1}; static struct write_data everything = {0, 1, 1, 1};
...@@ -7430,7 +7429,6 @@ cse_set_around_loop (x, insn, loop_start) ...@@ -7430,7 +7429,6 @@ cse_set_around_loop (x, insn, loop_start)
rtx insn; rtx insn;
rtx loop_start; rtx loop_start;
{ {
rtx p;
struct table_elt *src_elt; struct table_elt *src_elt;
static struct write_data init = {0, 0, 0, 0}; static struct write_data init = {0, 0, 0, 0};
struct write_data writes_memory; struct write_data writes_memory;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment