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]

ppc bootstrap failure fix


Hi,
the PPC bootstrap crashes because of typo in my patch. It didn't show on i386
bootstrap, as it is not autoinc taarget.

Sat Jun 23 10:18:44 CEST 2001  Jan Hubicka  <jh@suse.cz>
	* flow.c (attempt_auto_inc, try_pre_increment_1): Fix typo.
Index: flow.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/flow.c,v
retrieving revision 1.405
diff -c -3 -p -r1.405 flow.c
*** flow.c	2001/06/22 23:27:47	1.405
--- flow.c	2001/06/23 08:18:23
*************** attempt_auto_inc (pbi, inc, insn, mem, i
*** 5526,5532 ****
        /* Count an extra reference to the reg.  When a reg is
  	 incremented, spilling it is worse, so we want to make
  	 that less likely.  */
!       REG_FREQ (regno) += (optimize_size || !phi->bb->frequency
  		           ? 1 : pbi->bb->frequency);
  
        /* Count the increment as a setting of the register,
--- 5526,5532 ----
        /* Count an extra reference to the reg.  When a reg is
  	 incremented, spilling it is worse, so we want to make
  	 that less likely.  */
!       REG_FREQ (regno) += (optimize_size || !pbi->bb->frequency
  		           ? 1 : pbi->bb->frequency);
  
        /* Count the increment as a setting of the register,
*************** try_pre_increment_1 (pbi, insn)
*** 6115,6121 ****
  	 so we want to make that less likely.  */
        if (regno >= FIRST_PSEUDO_REGISTER)
  	{
! 	  REG_FREQ (regno) += (optimize_size || !phi->bb->frequency
  			       ? 1 : pbi->bb->frequency);
  	  REG_N_SETS (regno)++;
  	}
--- 6115,6121 ----
  	 so we want to make that less likely.  */
        if (regno >= FIRST_PSEUDO_REGISTER)
  	{
! 	  REG_FREQ (regno) += (optimize_size || !pbi->bb->frequency
  			       ? 1 : pbi->bb->frequency);
  	  REG_N_SETS (regno)++;
  	}


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