diff options
author | mkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-18 17:12:19 +0000 |
---|---|---|
committer | mkuvyrkov <mkuvyrkov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-03-18 17:12:19 +0000 |
commit | c96e0a0a4547e34e39e6be48f0387a485cdd365e (patch) | |
tree | 7db5198c1601980e443dd906da017133e8b831bf /gcc/gcse.c | |
parent | 7da2097899c119559007977e2df3f3879e1b5ad8 (diff) | |
download | gcc-c96e0a0a4547e34e39e6be48f0387a485cdd365e.tar.gz |
PR rtl-optimization/48170
* gcse.c (hoist_code): Remove bogus asserts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171155 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c index 27f7e8fe034..c010d86491a 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -4520,9 +4520,7 @@ hoist_code (void) { /* An occurence might've been already deleted while processing a dominator of BB. */ - if (occr->deleted_p) - gcc_assert (MAX_HOIST_DEPTH > 1); - else + if (!occr->deleted_p) { gcc_assert (NONDEBUG_INSN_P (occr->insn)); hoistable++; @@ -4554,10 +4552,7 @@ hoist_code (void) /* An occurence might've been already deleted while processing a dominator of BB. */ if (occr->deleted_p) - { - gcc_assert (MAX_HOIST_DEPTH > 1); - continue; - } + continue; gcc_assert (NONDEBUG_INSN_P (occr->insn)); max_distance = expr->max_distance; |