Commit 160051af by Joern Rennecke Committed by Joern Rennecke

Fix --enable-werror-always build errors:

        * config/epiphany/epiphany.c (epiphany_expand_prologue):
        Remove unused variable save_config.
        (epiphany_compute_frame_size): Avoid signed/unsigned comparison in
        assert.

From-SVN: r205388
parent d2504d68
2013-11-26 Joern Rennecke <joern.rennecke@embecosm.com>
* config/epiphany/epiphany.c (epiphany_expand_prologue):
Remove unused variable save_config.
(epiphany_compute_frame_size): Avoid signed/unsigned comparison in
assert.
2013-11-26 James Greenhalgh <james.greenhalgh@arm.com> 2013-11-26 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/arm_neon.h (vtbx1_<psu>8): Emulate behaviour * config/aarch64/arm_neon.h (vtbx1_<psu>8): Emulate behaviour
...@@ -1133,7 +1133,7 @@ epiphany_compute_frame_size (int size /* # of var. bytes allocated. */) ...@@ -1133,7 +1133,7 @@ epiphany_compute_frame_size (int size /* # of var. bytes allocated. */)
if (total_size + reg_size <= (unsigned) epiphany_stack_offset) if (total_size + reg_size <= (unsigned) epiphany_stack_offset)
{ {
gcc_assert (first_slot < 0); gcc_assert (first_slot < 0);
gcc_assert (reg_size == 0 || reg_size == epiphany_stack_offset); gcc_assert (reg_size == 0 || (int) reg_size == epiphany_stack_offset);
last_slot_offset = EPIPHANY_STACK_ALIGN (total_size + reg_size); last_slot_offset = EPIPHANY_STACK_ALIGN (total_size + reg_size);
} }
else else
...@@ -1694,7 +1694,6 @@ epiphany_expand_prologue (void) ...@@ -1694,7 +1694,6 @@ epiphany_expand_prologue (void)
int interrupt_p; int interrupt_p;
enum epiphany_function_type fn_type; enum epiphany_function_type fn_type;
rtx addr, mem, off, reg; rtx addr, mem, off, reg;
rtx save_config;
if (!current_frame_info.initialized) if (!current_frame_info.initialized)
epiphany_compute_frame_size (get_frame_size ()); epiphany_compute_frame_size (get_frame_size ());
......
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