fold-const.c (fold_comparsion): Pass OEP_ADDRESS_OF when comparing addresses.
authorJan Hubicka <hubicka@ucw.cz>
Mon, 12 Oct 2015 05:26:47 +0000 (07:26 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Mon, 12 Oct 2015 05:26:47 +0000 (05:26 +0000)
commit38e9e539bc63af71d76c3d5292fb08bb8262a5bf
tree186f32cb02bcc0b34ce572b5f6a7fd63ddb605a8
parent0732f75fce0fb24a4989b510d57ebd2b05c1a67f
fold-const.c (fold_comparsion): Pass OEP_ADDRESS_OF when comparing addresses.

* fold-const.c (fold_comparsion): Pass OEP_ADDRESS_OF when comparing
addresses.
(fold_addr_of_array_ref_difference): Likewise.

From-SVN: r228701
gcc/ChangeLog
gcc/fold-const.c