This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR26763


On Tue, 4 Apr 2006, Richard Guenther wrote:
> 2006-04-03  Richard Guenther  <rguenther@suse.de>
>
> 	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.

Roger
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]