add gcc bugfix

SVN-Revision: 2700
This commit is contained in:
Imre Kaloz 2005-12-16 13:56:09 +00:00
parent d2d86ebbfe
commit 87d1008ce9
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,16 @@
Index: gcc/gcse.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcse.c,v
retrieving revision 1.288.2.9
diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.288.2.9 gcse.c
--- gcc/gcc/gcse.c 30 Oct 2004 18:02:53 -0000 1.288.2.9
+++ gcc/gcc/gcse.c 14 Jul 2005 13:19:57 -0000
@@ -6445,7 +6445,7 @@ hoist_code (void)
insn_inserted_p = 0;
/* These tests should be the same as the tests above. */
- if (TEST_BIT (hoist_vbeout[bb->index], i))
+ if (TEST_BIT (hoist_exprs[bb->index], i))
{
/* We've found a potentially hoistable expression, now
we look at every block BB dominates to see if it

View File

@ -0,0 +1,16 @@
Index: gcc/gcse.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcse.c,v
retrieving revision 1.288.2.9
diff -u -p -F^\([(a-zA-Z0-9_]\|#define\) -r1.288.2.9 gcse.c
--- gcc/gcc/gcse.c 30 Oct 2004 18:02:53 -0000 1.288.2.9
+++ gcc/gcc/gcse.c 14 Jul 2005 13:19:57 -0000
@@ -6445,7 +6445,7 @@ hoist_code (void)
insn_inserted_p = 0;
/* These tests should be the same as the tests above. */
- if (TEST_BIT (hoist_vbeout[bb->index], i))
+ if (TEST_BIT (hoist_exprs[bb->index], i))
{
/* We've found a potentially hoistable expression, now
we look at every block BB dominates to see if it