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
This commit is contained in:
parent
d318a8ba74
commit
7537fc907c
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* doc/install.texi: Remove extra cd.
|
||||
|
@ -3133,7 +3133,7 @@ mark_label_nuses (rtx x)
|
||||
const char *fmt;
|
||||
|
||||
code = GET_CODE (x);
|
||||
if (code == LABEL_REF)
|
||||
if (code == LABEL_REF && LABEL_P (XEXP (x, 0)))
|
||||
LABEL_NUSES (XEXP (x, 0))++;
|
||||
|
||||
fmt = GET_RTX_FORMAT (code);
|
||||
|
Loading…
Reference in New Issue
Block a user