This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix PR20922, round 2
- From: Roger Sayle <roger at eyesopen dot com>
- To: "James A. Morrison" <ja2morri at csclub dot uwaterloo dot ca>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 18 Apr 2005 08:35:14 -0600 (MDT)
- Subject: Re: [patch] Fix PR20922, round 2
On 18 Apr 2005, James A. Morrison wrote:
> 2005-04-18 James A. Morrison <phython@gcc.gnu.org>
>
> PR tree-optimization/20922
> * fold-const.c (fold_binary): Fold X - c > X and X + c < X to false.
> Fold X + c >= X and fold X - c <= X to true.
This is OK for mainline (with a suitable ChangeLog entry for the
five new testcases :). Many thanks for your patience.
Roger
--