Re: [PATCH] Handle BIT_INSERT_EXPR in hashable_expr_equal_p

2017-07-31 Thread Richard Biener
On Sat, Jul 29, 2017 at 8:48 PM, Andrew Pinski wrote: > Hi, > When I was playing around where lowering of bit-field accesses go in > the pass order, I found that DOM had the same issue as PRE had when it > came to comparing BIT_INSERT_EXPR for equality. The same exact > testcase was showing the

[PATCH] Handle BIT_INSERT_EXPR in hashable_expr_equal_p

2017-07-29 Thread Andrew Pinski
Hi, When I was playing around where lowering of bit-field accesses go in the pass order, I found that DOM had the same issue as PRE had when it came to comparing BIT_INSERT_EXPR for equality. The same exact testcase was showing the wrong code; gcc.dg/tree-ssa/20040324-1.c. This fixes DOM the sa