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 PR26898, folding of X +- C1 CMP Y +- C2


On 8/16/06, Geoffrey Keating <geoffk@apple.com> wrote:
Hi Richard,

> 2006-04-05  Richard Guenther  <rguenther@suse.de>
>
>       PR middle-end/26898
>       * fold-const.c (fold_comparison): Fold signed comparisons
>       of the form X +- C1 CMP Y +- C2.
>
>       * gcc.dg/torture/pr26898-1.c: New testcase.
>       * gcc.dg/torture/pr26898-2.c: Likewise.

This patch is OK, although probably not suitable for 4.2.

Re-bootstrapped and tested on x86_64-unknown-linux-gnu, applied to mainline.

Richard.


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