diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-03 14:39:05 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-07-03 14:39:05 +0000 |
commit | d69521d8e318362ab011819499294da78cdad64c (patch) | |
tree | 0f9f89a40e0f06ad2065a6c8389c198699c9f249 /gcc/data-streamer-in.c | |
parent | 840ab4e2501e4782c336958058bc48cf2c20069a (diff) | |
download | gcc-d69521d8e318362ab011819499294da78cdad64c.tar.gz |
* gcov-io.c (gcov_read_words): Don't call memmove if excess is 0.
* data-streamer-in.c (streamer_read_hwi): Shift UHWI 1 instead of
HWI 1 and negate the unsigned value.
* expmed.c (expand_sdiv_pow2): For modes wider than word always
use AND instead of shift.
* wide-int-print.cc (print_decs): Negate UHWI instead of HWI.
c-family/
* c-ada-spec.c (dump_ada_nodes): Don't call qsort if
comments->count <= 1, as comments->entries might be NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212264 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/data-streamer-in.c')
-rw-r--r-- | gcc/data-streamer-in.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/data-streamer-in.c b/gcc/data-streamer-in.c index 1f74278fa80..7bec1b1519a 100644 --- a/gcc/data-streamer-in.c +++ b/gcc/data-streamer-in.c @@ -174,7 +174,7 @@ streamer_read_hwi (struct lto_input_block *ib) if ((byte & 0x80) == 0) { if ((shift < HOST_BITS_PER_WIDE_INT) && (byte & 0x40)) - result |= - ((HOST_WIDE_INT)1 << shift); + result |= - (HOST_WIDE_INT_1U << shift); return result; } |