------- Comment #9 from joern dot rennecke at st dot com 2005-12-13 23:03 ------- Subject: RFA: fix bootstrap/25397 part 2 (Was: Re: Bootstrap failed)
pinskia at gcc dot gnu dot org wrote: > > >/* Compile with -O2 -m32 -fPIC */ > > ... Thanks. I have attached a patch. 2005-12-13 J"orn Rennecke <[EMAIL PROTECTED]> * struct-equiv.c (struct_equiv_init): Fix off-by-one error in clearing of STACK_REGS bits. Index: struct-equiv.c =================================================================== /usr/bin/diff -p -d -F^( -u -L struct-equiv.c (revision 108480) -L struct-equiv.c (working copy) .svn/text-base/struct-equiv.c.svn-base struct-equiv.c --- struct-equiv.c (revision 108480) +++ struct-equiv.c (working copy) @@ -1001,7 +1004,7 @@ struct_equiv_init (int mode, struct equi these regs are not necessarily all dead - we swap random bogosity against constant bogosity. However, clearing these bits at least makes the regsets comparable. */ - for (rn = FIRST_STACK_REG; rn < LAST_STACK_REG; rn++) + for (rn = FIRST_STACK_REG; rn <= LAST_STACK_REG; rn++) { CLEAR_REGNO_REG_SET (info->x_block->il.rtl->global_live_at_end, rn); CLEAR_REGNO_REG_SET (info->y_block->il.rtl->global_live_at_end, rn); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25397