From: Richard Stallman Date: Tue, 2 Jun 1992 21:28:08 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: misc/cutover-egcs-0~12790 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6a5293dc3b4d474983e8f57429fc9035bc3bf381;p=thirdparty%2Fgcc.git *** empty log message *** From-SVN: r1141 --- diff --git a/gcc/cse.c b/gcc/cse.c index 4a51d4221793..c863d3c2f9fd 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -7432,6 +7432,14 @@ cse_basic_block (from, to, next_branch, around_loop) if (JUMP_LABEL (insn) == to) to_usage = 1; + /* Maybe TO was deleted because the jump is unconditional. + If so, there is nothing left in this basic block. */ + /* ??? Perhaps it would be smarter to set TO + to whatever follows this insn, + and pretend the basic block had always ended here. */ + if (INSN_DELETED_P (to)) + break; + insn = PREV_INSN (to); }