patches/gcc/3.4.4/830-gcc-bug-num-22167.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jul 24 21:45:46 2007 +0000 (2007-07-24)
changeset 293 ee6cb0ac10c7
permissions -rw-r--r--
Mark D.U.M.A 2_5_2 and 2_5_3 as being broken: they don't even build on any of my sample toolchain... :-(
     1 Index: gcc/gcse.c
     2 ===================================================================
     3 RCS file: /cvs/gcc/gcc/gcc/gcse.c,v
     4 retrieving revision 1.288.2.9
     5 diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.288.2.9 gcse.c
     6 --- gcc/gcc/gcse.c	30 Oct 2004 18:02:53 -0000	1.288.2.9
     7 +++ gcc/gcc/gcse.c	14 Jul 2005 13:19:57 -0000
     8 @@ -6445,7 +6445,7 @@ hoist_code (void)
     9  	  insn_inserted_p = 0;
    10  
    11  	  /* These tests should be the same as the tests above.  */
    12 -	  if (TEST_BIT (hoist_vbeout[bb->index], i))
    13 +	  if (TEST_BIT (hoist_exprs[bb->index], i))
    14  	    {
    15  	      /* We've found a potentially hoistable expression, now
    16  		 we look at every block BB dominates to see if it