Commit 7537fc90 by Richard Sandiford Committed by Richard Sandiford

emit-rtl.c (mark_label_nuses): Check that a LABEL_REF refers to a label before…

emit-rtl.c (mark_label_nuses): Check that a LABEL_REF refers to a label before updating its usage count.

	* emit-rtl.c (mark_label_nuses): Check that a LABEL_REF refers to
	a label before updating its usage count.

From-SVN: r77640
parent d318a8ba
2004-02-11 Richard Sandiford <rsandifo@redhat.com>
* emit-rtl.c (mark_label_nuses): Check that a LABEL_REF refers to
a label before updating its usage count.
2004-02-10 Matt Kraai <kraai@alumni.cmu.edu> 2004-02-10 Matt Kraai <kraai@alumni.cmu.edu>
* doc/install.texi: Remove extra cd. * doc/install.texi: Remove extra cd.
......
...@@ -3133,7 +3133,7 @@ mark_label_nuses (rtx x) ...@@ -3133,7 +3133,7 @@ mark_label_nuses (rtx x)
const char *fmt; const char *fmt;
code = GET_CODE (x); code = GET_CODE (x);
if (code == LABEL_REF) if (code == LABEL_REF && LABEL_P (XEXP (x, 0)))
LABEL_NUSES (XEXP (x, 0))++; LABEL_NUSES (XEXP (x, 0))++;
fmt = GET_RTX_FORMAT (code); fmt = GET_RTX_FORMAT (code);
......
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