Re: Two more cases where we compare addresses

2015-10-07 Thread Richard Biener
On Wed, Oct 7, 2015 at 7:43 AM, Jan Hubicka wrote: > Hi, > this patch fixes use of operand_equal_p in fold_comparison where > we compare two addresses for equivalence and in > fold_addr_of_array_ref_difference. > > Bootstrapped/regtested x86_64-linux, OK? > > Honza > > * fold-const.c (fol

Two more cases where we compare addresses

2015-10-06 Thread Jan Hubicka
Hi, this patch fixes use of operand_equal_p in fold_comparison where we compare two addresses for equivalence and in fold_addr_of_array_ref_difference. Bootstrapped/regtested x86_64-linux, OK? Honza * fold-const.c (fold_comparison, fold_addr_of_array_ref_difference): Pass OEP_AD