Commit 0c514727 by Tom de Vries Committed by Tom de Vries

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
parent 76bafb07
2011-09-21 Tom de Vries <tom@codesourcery.com>
* final.c (final): Handle if JUMP_LABEL is not LABEL_P.
2011-09-20 David S. Miller <davem@davemloft.net>
* config/sparc/sparc.md (UNSPEC_ALIGNADDRL): New unspec.
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment