diff options
author | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-24 20:13:00 +0000 |
---|---|---|
committer | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-09-24 20:13:00 +0000 |
commit | 0de616acaf5a5c030aa345f35f272041482a1651 (patch) | |
tree | 34cf6e9f9dd84ae07f59043452f31e782a25e41c /gcc/flow.c | |
parent | d9c5861327377622f04311ecfbd209b3dcc088a6 (diff) | |
download | gcc-0de616acaf5a5c030aa345f35f272041482a1651.tar.gz |
* flow.c (delete_dead_jumptables): Delete jumptable if the only
reference is from the literal pool.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45783 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flow.c')
-rw-r--r-- | gcc/flow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/flow.c b/gcc/flow.c index eb1d23a12e2..311f8d8b726 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -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)) |