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 infinite loop in calculate_global_regs_live


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~


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