Message ID | BLU0-SMTP121C5A1FDC80409B6A4E5D97DB0@phx.gbl |
---|---|
State | New |
Headers | show |
Index: config/pa/pa.c =================================================================== --- config/pa/pa.c (revision 197452) +++ config/pa/pa.c (working copy) @@ -792,7 +792,9 @@ /* Extract CODE_LABEL. */ orig = XEXP (orig, 0); add_reg_note (insn, REG_LABEL_OPERAND, orig); - LABEL_NUSES (orig)++; + /* Make sure we have label and not a note. */ + if (LABEL_P (orig)) + LABEL_NUSES (orig)++; } crtl->uses_pic_offset_table = 1; return reg;