Commit aa11164a by Jakub Jelinek Committed by Jakub Jelinek

re PR tree-optimization/83086 (valgrind error in gimple-ssa-store-merging.c for recent build)

	PR tree-optimization/83086
	* gimple-ssa-store-merging.c
	(imm_store_chain_info::try_coalesce_bswap): Test this_n.base_addr
	rather than n.base_addr.

From-SVN: r255002
parent 938f9248
2017-11-21 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/83086
* gimple-ssa-store-merging.c
(imm_store_chain_info::try_coalesce_bswap): Test this_n.base_addr
rather than n.base_addr.
2017-11-21 Martin Liska <mliska@suse.cz> 2017-11-21 Martin Liska <mliska@suse.cz>
PR rtl-optimization/82044 PR rtl-optimization/82044
...@@ -2390,7 +2390,7 @@ imm_store_chain_info::try_coalesce_bswap (merged_store_group *merged_store, ...@@ -2390,7 +2390,7 @@ imm_store_chain_info::try_coalesce_bswap (merged_store_group *merged_store,
? try_size - info->bitsize - bitpos ? try_size - info->bitsize - bitpos
: bitpos)) : bitpos))
return false; return false;
if (n.base_addr && vuse_store) if (this_n.base_addr && vuse_store)
{ {
unsigned int j; unsigned int j;
for (j = first; j <= last; ++j) for (j = first; j <= last; ++j)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment