Re: [PATCH] Fix ICE in store-merging (PR tree-optimization/82929)

2017-11-10 Thread Richard Biener
On Fri, 10 Nov 2017, Jakub Jelinek wrote: > Hi! > > Because BIT_{AND,IOR,XOR}_EXPR are commutative, we std::swap the > store_operand_info ops if that means we could append the store into > a group rather than having to start a new group. Unfortunately > for count_multiple_uses we need to walk th

[PATCH] Fix ICE in store-merging (PR tree-optimization/82929)

2017-11-10 Thread Jakub Jelinek
Hi! Because BIT_{AND,IOR,XOR}_EXPR are commutative, we std::swap the store_operand_info ops if that means we could append the store into a group rather than having to start a new group. Unfortunately for count_multiple_uses we need to walk the stmts computing the stored value in order to check th