This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] fold-const.c: Fix PR tree-optimization/23518.
- From: Roger Sayle <roger at eyesopen dot com>
- To: Kazu Hirata <kazu at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 21 Dec 2005 18:32:39 -0700 (MST)
- Subject: Re: [patch] fold-const.c: Fix PR tree-optimization/23518.
On Wed, 21 Dec 2005, Kazu Hirata wrote:
> 2005-12-22 Kazu Hirata <kazu@codesourcery.com>
>
> PR tree-optimization/23518
> * fold-const.c (make_range): Don't move a constant to the
> other side of the comparison if the type is signed and -fwrapv
> is given.
>
> 2005-12-22 Kazu Hirata <kazu@codesourcery.com>
>
> PR tree-optimization/23518
> * testsuite/gcc.dg/pr23518.c: New.
This is OK for mainline.
Thanks,
Roger
--