aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2005-07-21 06:51:25 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2005-07-21 06:51:25 +0000
commitcb83c2ec4187b1781ea17180267bcfe90f5e0e9c (patch)
tree814b2815853aadb05602d3e230648d6115fe2702 /gcc/gcse.c
parent5e5cbbfb8e0f8b3e20d5fe1da84fbd545e91f537 (diff)
downloadgcc-cb83c2ec4187b1781ea17180267bcfe90f5e0e9c.zip
gcc-cb83c2ec4187b1781ea17180267bcfe90f5e0e9c.tar.gz
gcc-cb83c2ec4187b1781ea17180267bcfe90f5e0e9c.tar.bz2
re PR rtl-optimization/22167 (Strange optimization bug when using -Os)
PR rtl-optimization/22167 * gcse.c (hoist_code): Fix hoist_exprs[] check. From-SVN: r102219
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index 5099a08..e2d35e2 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -4898,7 +4898,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