[PATCH] Fix PR57381

2013-05-23 Thread Richard Biener
This is another case of ADDR_EXPRs not comparing equal from operand_equal_p if they contain volatile field references. The issue is that we should compare the FIELD_DECLs with retaining OEP_CONSTANT_ADDRESS_OF (or maybe not set TREE_SIDE_EFFECTS on them - but that's a bigger change). Bootstrap /

Re: [PATCH] Fix PR57381

2013-05-23 Thread Bin.Cheng
On Thu, May 23, 2013 at 4:29 PM, Richard Biener rguent...@suse.de wrote: This is another case of ADDR_EXPRs not comparing equal from operand_equal_p if they contain volatile field references. The issue is that we should compare the FIELD_DECLs with retaining OEP_CONSTANT_ADDRESS_OF (or maybe