[PATCH] Fix PR26763
Tue Apr 4 14:14:00 GMT 2006
On Tue, 4 Apr 2006, Richard Guenther wrote:
> 2006-04-03 Richard Guenther <email@example.com>
> PR tree-optimization/26763
> * fold-const.c (fold_comparison): Move folding of
> PTR + CST CMP PTR + CST ...
> (fold_binary): ... here. Fold only for EQ_EXPR and NE_EXPR.
> * gcc.dg/torture/pr26763-1.c: New testcase.
> * gcc.dg/torture/pr26763-2.c: Likewise.
This is OK for mainline. Thanks.
More information about the Gcc-patches