From: Tom de Vries Date: Wed, 21 Sep 2011 07:41:22 +0000 (+0000) Subject: final.c (final): Handle if JUMP_LABEL is not LABEL_P. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c51472758bef54b179181f083cb2cb4fa937ca3;p=gcc.git final.c (final): Handle if JUMP_LABEL is not LABEL_P. 2011-09-21 Tom de Vries * final.c (final): Handle if JUMP_LABEL is not LABEL_P. From-SVN: r179034 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 738d318ac0c..afec0a44398 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-09-21 Tom de Vries + + * final.c (final): Handle if JUMP_LABEL is not LABEL_P. + 2011-09-20 David S. Miller * config/sparc/sparc.md (UNSPEC_ALIGNADDRL): New unspec. diff --git a/gcc/final.c b/gcc/final.c index 328599c42c4..e6d288639b7 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; }