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 | |
| parent | b65fb3db14b811bd34792897e8596a27f7364dd1 (diff) | |
| download | ppe42-gcc-e6b6acd098a816eda98babd57ed2f3f29c41d868.tar.gz ppe42-gcc-e6b6acd098a816eda98babd57ed2f3f29c41d868.zip | |
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
| -rw-r--r-- | gcc/ChangeLog | 7 | ||||
| -rw-r--r-- | gcc/config/epiphany/epiphany.c | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d1885d97d4d..562ee1410d4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +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> * config/aarch64/arm_neon.h (vtbx1_<psu>8): Emulate behaviour 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 ()); |

