re PR tree-optimization/82954 (ICE in fold_binary_loc, at fold-const.c:9061)
authorJakub Jelinek <jakub@redhat.com>
Mon, 13 Nov 2017 09:01:24 +0000 (10:01 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 13 Nov 2017 09:01:24 +0000 (10:01 +0100)
commit5bfd2f9bc61af31a8ada151a6e841b10e37b302c
tree37ec1d953b7f19bd47f03e1a91fd708518205b53
parent441b4d0fa20992086704ebf013a4f8c3a41c96b0
re PR tree-optimization/82954 (ICE in fold_binary_loc, at fold-const.c:9061)

PR tree-optimization/82954
* gimple-ssa-store-merging.c
(imm_store_chain_info::coalesce_immediate_stores): If
!infof->ops[N].base_addr, split group if info->ops[N].base_addr.

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

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