From f3101b311cfaca1e6255c0cd5b7747bbb79aa164 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Thu, 20 Nov 2014 17:03:16 +0100 Subject: [PATCH] re PR target/60111 ([SH] ICE compiling Newlib) 2014-11-20 Segher Boessenkool PR target/60111 * config/sh/sh.c: Use signed char for signed field. From-SVN: r217883 --- gcc/ChangeLog | 5 +++++ gcc/config/sh/sh.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 327a5c5f2ce..051e275272b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-11-20 Segher Boessenkool + + PR target/60111 + * config/sh/sh.c: Use signed char for signed field. + 2014-11-20 Trevor Saunders * cfgexpand.c, gimple-ssa.h, trans-mem.c: Replace htab with diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index e4491210522..d6d50a4e8c1 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -3007,7 +3007,7 @@ enum struct ashl_lshr_sequence { char insn_count; - char amount[6]; + signed char amount[6]; char clobbers_t; }; -- 2.30.2