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]

Re: [PATCH] fix ifcvt ICE


On May 23, 2000, Richard Henderson <rth@cygnus.com> wrote:

> On Tue, May 23, 2000 at 02:51:55PM +0200, Jakub Jelinek wrote:
>> Ok to commit if just started bootstrap succeeds?
>> 
>> 2000-05-23  Jakub Jelinek  <jakub@redhat.com>
>> 
>> * ifcvt.c (if_convert): Update life info globally.

> Yes, with

Since this fixes a bug I was just about to start tracking, I'm
checking this in:

Index: gcc/ChangeLog
from  Jakub Jelinek  <jakub@redhat.com>

	* ifcvt.c (if_convert): Update life info globally.

Index: gcc/ifcvt.c
--- gcc/ifcvt.c	Sun May 21 21:13:17 2000
+++ gcc/ifcvt.c	Tue May 23 14:21:22 2000
@@ -2037,7 +2037,9 @@ if_convert (life_data_ok)
 	  SET_BIT (update_life_blocks, block_num);
 
       count_or_remove_death_notes (update_life_blocks, 1);
-      update_life_info (update_life_blocks, UPDATE_LIFE_LOCAL,
+      /* ??? See about adding a mode that verifies that the initial
+	set of blocks don't let registers come live.  */
+      update_life_info (update_life_blocks, UPDATE_LIFE_GLOBAL,
 			PROP_DEATH_NOTES | PROP_SCAN_DEAD_CODE
 			| PROP_KILL_DEAD_CODE);
 

-- 
Alexandre Oliva    Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me

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