re PR tree-optimization/86492 (store-merging wrong-code)
authorJakub Jelinek <jakub@redhat.com>
Thu, 12 Jul 2018 07:39:33 +0000 (09:39 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 12 Jul 2018 07:39:33 +0000 (09:39 +0200)
commita7fe6482214cb17e37b1099b2e0e7b2a6babdc47
tree070d251cc087b16f42b5671d9c9cdf5d49a8e687
parentcd0762f3ca925ceaf69ae83442e08615fc1674e3
re PR tree-optimization/86492 (store-merging wrong-code)

PR tree-optimization/86492
* gimple-ssa-store-merging.c
(imm_store_chain_info::coalesce_immediate_stores): Call
check_no_overlap even for the merge_overlapping case.  Formatting fix.

* gcc.c-torture/execute/pr86492.c: New test.

From-SVN: r262576
gcc/ChangeLog
gcc/gimple-ssa-store-merging.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr86492.c [new file with mode: 0644]