flow.c (delete_dead_jumptables): Delete jumptable if the only reference is from the literal pool.

* flow.c (delete_dead_jumptables): Delete jumptable if the only
reference is from the literal pool.

From-SVN: r45783
This commit is contained in:
Ulrich Weigand 2001-09-24 20:13:00 +00:00 committed by Ulrich Weigand
parent dea2f2dbed
commit 967bd82377
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-09-24 Ulrich Weigand <uweigand@de.ibm.com>:
* flow.c (delete_dead_jumptables): Delete jumptable if the only
reference is from the literal pool.
2001-09-24 Janis Johnson <janis187@us.ibm.com>
* doc/install.texi (Final install): Request additional information

View File

@ -795,7 +795,7 @@ delete_dead_jumptables ()
{
next = NEXT_INSN (insn);
if (GET_CODE (insn) == CODE_LABEL
&& LABEL_NUSES (insn) == 0
&& LABEL_NUSES (insn) == LABEL_PRESERVE_P (insn)
&& GET_CODE (next) == JUMP_INSN
&& (GET_CODE (PATTERN (next)) == ADDR_VEC
|| GET_CODE (PATTERN (next)) == ADDR_DIFF_VEC))