projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71c4681
)
*** empty log message ***
author
Richard Stallman
<rms@gnu.org>
Tue, 2 Jun 1992 21:28:08 +0000
(21:28 +0000)
committer
Richard Stallman
<rms@gnu.org>
Tue, 2 Jun 1992 21:28:08 +0000
(21:28 +0000)
From-SVN: r1141
gcc/cse.c
patch
|
blob
|
history
diff --git
a/gcc/cse.c
b/gcc/cse.c
index
4a51d42
..
c863d3c
100644
(file)
--- 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);
}