diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d1a9600ae8a..6864cae6a29 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-07-30 Richard Biener + + PR middle-end/67053 + * match.pd: Allow both operands to independently have conversion + when simplifying compares of addresses. + 2015-07-29 Segher Boessenkool PR target/66217 diff --git a/gcc/match.pd b/gcc/match.pd index bc38c22b39a..fe53c9004af 100644 --- a/gcc/match.pd +++ b/gcc/match.pd @@ -1814,7 +1814,7 @@ along with GCC; see the file COPYING3. If not see enough to make fold_stmt not regress when not dispatching to fold_binary. */ (for cmp (simple_comparison) (simplify - (cmp (convert?@2 addr@0) (convert? addr@1)) + (cmp (convert1?@2 addr@0) (convert2? addr@1)) (with { HOST_WIDE_INT off0, off1;