diff options
author | Tom de Vries <tom@codesourcery.com> | 2011-09-21 07:41:22 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2011-09-21 07:41:22 +0000 |
commit | 0c51472758bef54b179181f083cb2cb4fa937ca3 (patch) | |
tree | 9a51a93b837cd1116e49f0cffca88c2d6279835a /gcc/final.c | |
parent | 76bafb07a946ee53b4fb1bd5389059ff1d8ca7d6 (diff) | |
download | gcc-0c51472758bef54b179181f083cb2cb4fa937ca3.zip gcc-0c51472758bef54b179181f083cb2cb4fa937ca3.tar.gz gcc-0c51472758bef54b179181f083cb2cb4fa937ca3.tar.bz2 |
final.c (final): Handle if JUMP_LABEL is not LABEL_P.
2011-09-21 Tom de Vries <tom@codesourcery.com>
* final.c (final): Handle if JUMP_LABEL is not LABEL_P.
From-SVN: r179034
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/final.c b/gcc/final.c index 328599c..e6d2886 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -1739,7 +1739,7 @@ final (rtx first, FILE *file, int optimize_p) if (optimize_p && JUMP_P (insn)) { rtx lab = JUMP_LABEL (insn); - if (lab && LABEL_NUSES (lab) == 1) + if (lab && LABEL_P (lab) && LABEL_NUSES (lab) == 1) { LABEL_REFS (lab) = insn; } |