]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/gcov-io.c
gcov-io.c (gcov_read_words): Don't call memmove if excess is 0.
authorJakub Jelinek <jakub@redhat.com>
Thu, 3 Jul 2014 14:39:05 +0000 (16:39 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 3 Jul 2014 14:39:05 +0000 (16:39 +0200)
commit00a7ba584062ce49f20fd9e10e5396b296b0a7b5
tree0f9f89a40e0f06ad2065a6c8389c198699c9f249
parente21526739585ce47c37e40c1da738ba42c7a7e02
gcov-io.c (gcov_read_words): Don't call memmove if excess is 0.

* 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.

From-SVN: r212264
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-ada-spec.c
gcc/data-streamer-in.c
gcc/expmed.c
gcc/gcov-io.c
gcc/wide-int-print.cc