re PR tree-optimization/83843 (wrong code at -O2)
authorJakub Jelinek <jakub@redhat.com>
Tue, 16 Jan 2018 08:53:09 +0000 (09:53 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 16 Jan 2018 08:53:09 +0000 (09:53 +0100)
commitbe52ac73d120b5bf27f13c41656c6cfe132c8c30
tree4e0379718b535782cc33097fddd35acb12ce04ae
parent2bbc5c34e4cd000532dfdf68fd294f02ba5f1dbb
re PR tree-optimization/83843 (wrong code at -O2)

PR tree-optimization/83843
* gimple-ssa-store-merging.c
(imm_store_chain_info::output_merged_store): Handle bit_not_p on
store_immediate_info for bswap/nop orig_stores.

* gcc.dg/store_merging_18.c: New test.

From-SVN: r256727
gcc/ChangeLog
gcc/gimple-ssa-store-merging.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/store_merging_18.c [new file with mode: 0644]