diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-02-28 23:39:11 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-02-28 23:39:11 +0100 |
commit | ad1de65225fc1ac05fe6b05b6198dc50a51e4935 (patch) | |
tree | ff4ffb92de5c47b0d5e963ed565075997888b190 /gcc/tree-chrec.c | |
parent | 7efb3707f267d5d47c4e0c929fa269adf32b11bc (diff) | |
download | gcc-ad1de65225fc1ac05fe6b05b6198dc50a51e4935.zip gcc-ad1de65225fc1ac05fe6b05b6198dc50a51e4935.tar.gz gcc-ad1de65225fc1ac05fe6b05b6198dc50a51e4935.tar.bz2 |
re PR tree-optimization/79737 (wrong code at -O2 and -O3 on x86_64-linux-gnu (in both 32-bit and 64-bit modes))
PR tree-optimization/79737
* gimple-ssa-store-merging.c (encode_tree_to_bitpos): If bitlen is
a multiple of BITS_PER_UNIT and !BYTES_BIG_ENDIAN, clear
tmpbuf[byte_size - 1]. Call natice_encode_expr with byte_size - 1
instead of byte_size. Formatting fix.
(shift_bytes_in_array_right): Formatting fix.
* gcc.c-torture/execute/pr79737-1.c: New test.
* gcc.c-torture/execute/pr79737-2.c: New test.
From-SVN: r245795
Diffstat (limited to 'gcc/tree-chrec.c')
0 files changed, 0 insertions, 0 deletions