diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-26 11:04:00 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-26 11:04:00 +0000 |
commit | e6b6acd098a816eda98babd57ed2f3f29c41d868 (patch) | |
tree | f17d15c2b457a9a7dc1ce1cc9882a74ae0d6f37d /gcc/config/epiphany/epiphany.c | |
parent | b65fb3db14b811bd34792897e8596a27f7364dd1 (diff) | |
download | gcc-e6b6acd098a816eda98babd57ed2f3f29c41d868.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205388 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/epiphany/epiphany.c')
-rw-r--r-- | gcc/config/epiphany/epiphany.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/epiphany/epiphany.c b/gcc/config/epiphany/epiphany.c index c264cdaee78..2a6ef107401 100644 --- a/gcc/config/epiphany/epiphany.c +++ b/gcc/config/epiphany/epiphany.c @@ -1133,7 +1133,7 @@ epiphany_compute_frame_size (int size /* # of var. bytes allocated. */) if (total_size + reg_size <= (unsigned) epiphany_stack_offset) { 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); } else @@ -1694,7 +1694,6 @@ epiphany_expand_prologue (void) int interrupt_p; enum epiphany_function_type fn_type; rtx addr, mem, off, reg; - rtx save_config; if (!current_frame_info.initialized) epiphany_compute_frame_size (get_frame_size ()); |