This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix infinite loop in calculate_global_regs_live
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: jh at suse dot cz, gcc-patches at gcc dot gnu dot org
- Date: Mon, 3 Dec 2001 10:24:49 -0800
- Subject: Re: [PATCH] Fix infinite loop in calculate_global_regs_live
- References: <20011130215820.A559@sunsite.ms.mff.cuni.cz> <20011130144558.N32134@redhat.com> <20011203091213.X4087@devserv.devel.redhat.com>
On Mon, Dec 03, 2001 at 09:12:13AM -0500, Jakub Jelinek wrote:
> * flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.
> Return correct value if one of the subexpressions was optimized to
> 0 resp. 1. Optimize (x | A) | x and (x & A) | x.
> (and_reg_cond): Similarly.
>
> * gcc.c-torture/compile/20011130-2.c: New test.
Ok.
r~