This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix force_to_mode bug
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Richard Henderson <rth at redhat dot com>,gcc-patches at gcc dot gnu dot org
- Date: Thu, 5 Dec 2002 21:00:50 +0100
- Subject: Re: [PATCH] Fix force_to_mode bug
- References: <20021118205000.H14760@sunsite.ms.mff.cuni.cz>
Hi Jakub,
> 2002-11-18 Jakub Jelinek <jakub@redhat.com>
>
> * combine.c (force_to_mode) [MINUS]: Only replace with (not Y) if all
> bits in fuller_mask (not just mask) are set in C.
>
> * gcc.c-torture/execute/20021118-3.c: New test.
That patch fixed PR optimization/8794 on mainline. Do you still plan to
backport it to the 3.2 branch (I verified that it fixes the bug there too) ?
--
Eric Botcazou